| Function |
Input
|
Output
|
|
sample
|
interval endpoints, say, 0, 1
and either step-size e.g. 0.2
or number of sub-divisions, e.g. 4 |
sequence of points dividing interval into equally spaced intervals
e.g. 0 , 0.2 , 0.4 , 0.6 , 0.8 , 1
or 0 , 0.25 , 0.5 , 0.75 , 1 |
|
mids
|
sequence of values
e.g. 4 , 8 , 2 , 12 , 16 |
sequence of values midway between successive values in input sequence
6 , 5 , 7 , 14 |
|
d
|
sequence of values
e.g. 4 , 8 , 2 , 12 , 16 |
sequence of differences between successive values in input sequence
4 , -6 , 10 , 4 |
|
sum
|
sequence of values
e.g. 4 , 8 , 2 , 12 , 16 |
sum of all values in the input sequence
42 |
|
S
|
sequence of values
e.g.
4 , 8 , 2 , 12 , 16 |
sequence of partial sums of the input sequence,
beginning with 0 (so composition d o S returns the input sequence).
0 , 4, 12 , 14 , 26 , 42 |
|
plot
|
two sequences of equal length e.g.
x = 4 , 8 , 2 , 12 , 16
y = 3 , 2 , 1 , 9 , 10 |
graph of points in a two-dimensional plane [graph] |
|