Ops.polynom {PolynomF} | R Documentation |
Group generic function to implement arithmetic operations on polynomial objects
## S3 method for class 'polynom' Ops(e1, e2) ## S3 method for class 'polylist' Ops(e1, e2)
e1, e2 |
A numeric vector of a polynomial object. At least one of |
A polynomial or polylist object representing the result of the operation.
x <- polynomial() (p <- (x-1)^5 - 1) (p1 <- (p + 1)/(x - 1)^2 - 1) for(i in 0:10) cat(coef((x+1)^i), "\n")