Function: math[recseq] - recursive iteration of a sequence
Calling Sequence:
recseq(expr, x=s, i);
Parameters:
expr - any expression
x - the indeterminate in expr
s - starting point (of any type)
i - number of iterations (a positive integer)
Description:
recseq returns a sequence of values from a recursive iteration of expr in x including the starting point s. The number of iterations i is given by the third argument to recseq. If i is 1 then only s is returned.
s usually is a numeric value or a name.
This function is part of the math package, and so can be used only after performing the command with(math) or with(math, recseq).
Examples:
> with(math, recseq):
> recseq(x^2, x=0.5, 10);
> recseq(1/n, n=a, 5);
See Also:
seq , math/seqby , math/seqnest .
Version History:
Version 1.0 - March 14, 1998
Version 1.1 - December 13, 1998