ooom {multipol} | R Documentation |
Uses Taylor's theorem to give one over one minus a multipol
ooom(n, a, maxorder=NULL)
n |
The order of the approximation; see details |
a |
A multipol |
maxorder |
A vector of integers giving the maximum order as per
taylor() |
The motivation for this function is the formal power series 1/(1-x)=1+x+x^2+.... The way to think about it is to observe that~(1+x^2+...+x^n)*(1-x)=1-x^(n+1).
Argument n
specifies how many terms of the series to take.
The function uses an efficient array method when x
has only a single
non-zero entry. In other cases, a variant of Horner's method is
used.
Robin K. S. Hankin
ooom(4,homog(3,1))