Click or drag to resize

Polynomial Methods

The Polynomial type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAdd(Polynomial, Polynomial) Addition of two Polynomials (point-wise).
Public methodStatic memberAdd(Polynomial, Double) Addition of a polynomial and a scalar.
Public methodClone 
Public methodDifferentiate 
Public methodStatic memberDivide Scales a polynomial by division by a scalar
Public methodDivideRemainder(Polynomial) Division of two polynomials returning the quotient-with-remainder of the two polynomials given
Public methodStatic memberDivideRemainder(Polynomial, Polynomial) Euclidean long division of two polynomials, returning the quotient q and remainder r of the two polynomials a and b such that a = q*b + r
Public methodEigenvalueMatrix Get the eigenvalue matrix A of this polynomial such that eig(A) = roots of this polynomial.
Public methodEquals(Object)
(Overrides ObjectEquals(Object))
Public methodEquals(Polynomial) 
Public methodEvaluate(Complex) Evaluate a polynomial at point x.
Public methodEvaluate(Double) Evaluate a polynomial at point x.
Public methodEvaluate(IEnumerableDouble) Evaluate a polynomial at points z.
Public methodEvaluate(IEnumerableComplex) Evaluate a polynomial at points z.
Public methodStatic memberEvaluate(Complex, Double) Evaluate a polynomial at point x. Coefficients are ordered ascending by power with power k at index k. Example: coefficients [3,-1,2] represent y=2x^2-x+3.
Public methodStatic memberEvaluate(Complex, Complex) Evaluate a polynomial at point x. Coefficients are ordered ascending by power with power k at index k. Example: coefficients [3,-1,2] represent y=2x^2-x+3.
Public methodStatic memberEvaluate(Double, Double) Evaluate a polynomial at point x. Coefficients are ordered ascending by power with power k at index k. Example: coefficients [3,-1,2] represent y=2x^2-x+3.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberFit Least-Squares fitting the points (x,y) to a k-order polynomial y : x -> p0 + p1*x + p2*x^2 + ... + pk*x^k
Public methodGetHashCode
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIntegrate 
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberMultiply(Polynomial, Polynomial) Multiplies a polynomial by a polynomial (convolution)
Public methodStatic memberMultiply(Polynomial, Double) Scales a polynomial by a scalar
Public methodStatic memberNegate Negation of a polynomial.
Public methodStatic memberPointwiseDivide Point-wise division of two Polynomials
Public methodStatic memberPointwiseMultiply Point-wise multiplication of two Polynomials
Public methodRoots Calculates the complex roots of the Polynomial by eigenvalue decomposition
Public methodStatic memberSubtract(Double, Polynomial) Addition of a polynomial from a scalar.
Public methodStatic memberSubtract(Polynomial, Polynomial) Subtraction of two Polynomials (point-wise).
Public methodStatic memberSubtract(Polynomial, Double) Addition of a scalar from a polynomial.
Public methodToString Format the polynomial in ascending order, e.g. "4.3 + 2.0x^2 - x^3".
(Overrides ObjectToString)
Public methodToString(IFormatProvider) Format the polynomial in ascending order, e.g. "4.3 + 2.0x^2 - x^3".
Public methodToString(String) Format the polynomial in ascending order, e.g. "4.3 + 2.0x^2 - x^3".
Public methodToString(String, IFormatProvider) Format the polynomial in ascending order, e.g. "4.3 + 2.0x^2 - x^3".
Public methodToStringDescending Format the polynomial in descending order, e.g. "x^3 + 2.0x^2 - 4.3".
Public methodToStringDescending(IFormatProvider) Format the polynomial in descending order, e.g. "x^3 + 2.0x^2 - 4.3".
Public methodToStringDescending(String) Format the polynomial in descending order, e.g. "x^3 + 2.0x^2 - 4.3".
Public methodToStringDescending(String, IFormatProvider) Format the polynomial in descending order, e.g. "x^3 + 2.0x^2 - 4.3".
Top
See Also