Overload List

  NameDescription
Polynomial()()()
Constructs the zero polynomial, that is, the polynomial, p(x), that satisfies p(x) = 0 for all x.
Polynomial(DoubleVector)
Constructs a Polynomial instance with the given coefficients.
Polynomial(DoubleVector, DoubleVector)
Constructs a polynomial which passes through the given set of points.
Polynomial(DoubleVector, OneVariableFunction)
Construct a polynomial that interpolates a function. If the number of interpolation points is n, then the constructed polynomial, p(x), will be have degree n - 1 and agree with the passed function at the passed interpolation points. Specifically, p will satisfy p(interpolationPoints[i]) = function(interpolationPoints[i]) for each i = 0, 1,...,n.

See Also