Reference Guide

3-134 Full Command and Function Reference
Input/Output:
Level
n+1
/Argument
1
Level
2
/Argument
n
Level
1
/Argument
n+1
Level 1/Item 1
obj
1
obj
n
n
{ obj
1
, … ,obj
n
}
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
Type: Command
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
Type: Command
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
Example 1:
{ 5 8 2 } œLIST
returns
80
.
Example 2:
{ A B C 1 } œLIST
returns
'A*B*C'
.
See also: ΣLIST, ∆LIST, STREAM
ΣLIST
Type: Command
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
Example 1:
{ 5 8 2 } ΣLIST
returns
15
.
Example 2:
{ A B C 1 } ΣLIST
returns
'A+B+C+1'
.
See also: ΠLIST, ∆LIST, STREAM
LN
Type: Analytic function
Description: Natural Logarithm Analytic Function: Returns the natural (base e) logarithm of the argument.