Since polynom objects are represented as functions, as.function.polynom simply removes the class attribute. The function as.function.polylist produces allows all polynomials on the list to be evaluated simultaneously at the same argument value.
These small convenience functions shift polynomials by relocating the origin to a new position. The primary function is generic and active methods are provided for polynom and polylist objects.
GCD
(Package: PolynomF) :
GCD and LCM or two or more polynomials
Functions to find the Greatest Common Divisor (GCD) or Least Common Multipe (LCM) of two or more polynomials, specified either as individual arguments or as a polylist object.
Math.polynom
(Package: PolynomF) :
S3 Group Generic Functions for Polynomial and Polylist Objects
The function Ops.polynom allows arithmetic operations on polynom objects: addition, subtraction, multiplication, division (with remainder), remainder, raising to a non-negaive integer power. It also allows exact equality and exact inequality tests.
poly.calc
(Package: PolynomF) :
Functions to generate polynomials in several standard ways
poly.calc (alias poly.from.values) computes the Lagrange interpolating polynomial. poly.from.zeros (alias poly.from.roots) computes the monic polynomial with specified zeros. poly.orth calculates polynomials orthogonal over a discrete set of $x-$values, as done numerically by the standard R function poly.
polynom
(Package: PolynomF) :
Constructor, coercion, predicate and print functions for polynom
The function polynom is the constructor function for objects of the eponymous S3 class. as.polynom is the standad coercion function to the same class and is.polynom tests for inheritance from the class. polylist objects are lists of polynom objects, again with the eponymous class.