T
h
e
'
L
i
s
t
'
g
r
o
u
p
T
h
e
'
L
i
s
t
'
g
r
o
u
p
CONCAT(<
list1>, <list2>)
This function concatenates two lists - appending one on to the end of the
other in the order that you specify. Lists must be enclosed in curly
brackets unless list variables are used.
Eg.
L 1={2,5,-2,10,3.75}
L2={1,2,3,4,5}
= {2,5,-2,10,3.75,1,2,3,4,5}
CONCAT(L1,L2)
CONCAT(L1,{5}) L1
longer list back into
.
L1
∆
LIST(<list>)
This function produces a list which contains the differences between successive values in the supplied list. The
resulting list has a length one less than the original.
Eg.
L1={1,4,7,10,13}
={3,3,3,3}
∆
LIST(L1)
MAKELIST(<expression>,<var_name>,<num>,<num>,<num>)
This function produces a list of the length specified using a rule of your choice. It is very useful, not only in
programming but in statistical simulations and modeling.
The syntax is:
MAKELIST
where expression
variable name
start
end
and
increment
Examples are shown on the following page.
o
f
f
u
n
c
t
i
o
n
s
o
f
f
u
n
c
t
i
o
n
s
would add another element of value 5 onto the end of list
(expression, variable name, start, end, increment)
is the mathematical rule used to generate the numbers.
is the variable that is to be used in the expression (any other
letters will be taken constants).
is the first value that variable name is be given.
is the largest value that variable name is to take.
is the amount that variable name should be incremented by.
190
, storing the resulting
L1