Chapter 11: Lists
170
length
!
dim(
listname
)
Fill(
Fill(
replaces each element in
listname
with
value
.
Fill(
value
,
listname
)
Note:
dim(
and
Fill(
are the same as
dim(
and
Fill(
on the
MATRX MATH
menu (Chapter 10).
seq(
seq(
(sequence) returns a list in which each element is the result of the evaluation of
expression
with
regard to
variable
for the values ranging from
begin
to
end
at steps of
increment
.
variable
need not be
defined in memory.
increment
can be negative; the default value for
increment
is 1.
seq(
is not valid
within
expression
. Complex lists are not valid.
A wizard will open to assist the entry of the syntax.
Note:
seq( is the only function in
LIST OPS that has a wizard.
seq(
expression
,
variable
,
begin
,
end
[
,
increment
]
)
cumSum(
cumSum(
(cumulative sum) returns the cumulative sums of the elements in
list
, starting with the
first element.
list
elements can be real or complex numbers.
cumSum(
list
)