32
DOLIST
* = function
DOLIST Applies commands, programs, or user-defined functions
to lists.
<N
LIST
PROCEDURES
{
list
}
1
...
{
list
}
n
n
«
program
»
→ {
results
}
DOSUBS Applies a program or command to groups of elements in a
list.
<N
LIST
PROCEDURES
{
list
}
1
n
«
program
»
→ {
list
}
2
DOT Returns the dot product A·B of two arrays A and B.
< %
VECTOR
[
array
A
] [
array
B
]
→
x
DRAW Plots the mathematical data in the reserved variable
EQ
.
N
DRAW3DMATRIX Draws a 3D plot from the values in a specified matrix.
N
[[
matrix
]]
v
min
v
max
→
DRAX Draws axes in
PICT.
N
DROP Removes the level 1 object from the stack.
<N
STACK
obj
→
DROP2 Removes the first two objects from the stack.
<N
STACK
obj
1
obj
2
→
DROPN Removes the first
n
+ 1 objects from the stack (the first
n
objects excluding the integer
n
itself).
<N
STACK
obj
1
... obj
n
n
→
DTAG Removes all tags (labels) from an object.
<N
TYPE
tag:obj
→
obj
DUP Returns a copy of the argument (or the object on level 1).
<N
STACK
obj
→
obj
obj
DUP2 Returns copies of the two arguments (or the objects on
levels 1 and 2 of the stack).
<N
STACK
obj
2
obj
1
→
obj
2
obj
1
obj
2
obj
1
DUPDUP Duplicates an object twice.
N
obj
→
obj
obj obj
Name Description Access Inputs Outputs