Input/Output:

 

 

Leveln+1/Argument1 7Level2/Argumentn

Level1/Argumentn+1

 

Level 1/Item 1

 

 

 

 

 

 

 

 

 

obj1 objn

 

n

{ obj1, … ,objn }

 

 

 

Example:

The program « DEPTH →LIST 'A' STO » combines the entire contents of the stack

 

into a list that is stored in variable A.

 

 

 

 

See also:

→ARRY, LIST→, →STR, →TAG, →UNIT

 

 

 

 

 

 

 

 

 

 

LIST

Command

 

 

 

 

Type:

 

 

 

 

Description:

List Differences Command: Returns the first differences of the elements in a list.

 

 

Adjacent elements in the list must be suitable for mutual subtraction.

 

 

Access:

LIST LIST

( ´is the left-shift of the Pkey).

 

Input/Output:

 

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

 

 

{ list }

{ differences }

 

 

 

Example 1:

{ 4 20 1 17 60 91 } ›LIST returns { 16 -19 16 43 31 }.

Example 2:

{ A B C 1 2 3 } ›LIST returns { 'B-A' 'C-B' '1-C' 1 1 }.

Example 3:

{ 'A+3' 'X/5' 'Y^4' } ›LIST returns { 'X/5-(A+3)' 'Y^4-X/5' }.

See also:

ΣLIST, ΠLIST, STREAM

 

 

 

 

 

 

 

 

ΠLIST

Command

 

 

 

Type:

 

 

 

Description:

List Product Command: Returns the product of the elements in a list.

 

 

The elements in the list must be suitable for mutual multiplication.

 

Access:

LIST ΠLIST

 

( ´is the left-shift of the Pkey).

Input/Output:

 

 

 

 

 

 

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

 

 

{ list }

product

 

{ 5 8 2

 

 

 

Example 1:

} œLIST returns 80.

 

 

Example 2:

{ A B C 1 } œLIST returns 'A*B*C'.

 

See also:

ΣLIST, ΔLIST, STREAM

 

 

 

 

 

 

 

 

ΣLIST

Command

 

 

 

Type:

 

 

 

Description:

List Sum Command: Returns the sum of the elements in a list.

 

 

The elements in the list must be suitable for mutual addition.

 

Access:

LIST ΣLIST

( ´is the left-shift of the Pkey).

Input/Output:

 

 

 

 

 

 

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

 

 

{ list }

sum

 

{ 5 8 2

 

 

 

Example 1:

} ΣLIST returns 15.

 

 

Example 2:

{ A B C 1 } ΣLIST returns 'A+B+C+1'.

 

See also:

ΠLIST, ΔLIST, STREAM

 

 

 

 

 

 

 

 

LN

Analytic function

 

 

 

Type:

 

 

 

Description:

Natural Logarithm Analytic Function: Returns the natural (base e) logarithm of the argument.

3-134 Full Command and Function Reference