Author(s): The CLIP Group.
Version: 1.9#237 (2003/12/22, 18:23:36 CET)
This module implements some kinds of lists of numbers.
numlists
)numlists
)
Usage: get_primes(N, Primes)
N
th first prime numbers in ascending order.
N
is an integer.
(basic_props:int/1
)
Primes
is a list of integers.
(numlists:intlist/1
)
Usage: intlist(X)
X
is a list of integers.
Usage: numlist(X)
X
is a list of numbers.
Usage: sum_list(List, N)
N
is the total sum of the elements of List
.
List
is a list of numbers.
(numlists:numlist/1
)
N
is a number.
(basic_props:num/1
)
Usage: sum_list(List, N0, N)
N
is the total sum of the elements of List
plus N0
.
List
is a list of numbers.
(numlists:numlist/1
)
N0
is a number.
(basic_props:num/1
)
N
is a number.
(basic_props:num/1
)
Usage: sum_list_of_lists(Lists, N)
N
is the total sum of the elements of the lists of Lists
.
List
is a list of numlist
s.
(basic_props:list/2
)
N
is a number.
(basic_props:num/1
)
Usage: sum_list_of_lists(Lists, N0, N)
N
is the total sum of the elements of the lists of Lists
plus N0
.
List
is a list of numlist
s.
(basic_props:list/2
)
N0
is a number.
(basic_props:num/1
)
N
is a number.
(basic_props:num/1
)
Go to the first, previous, next, last section, table of contents.