Polynomial Methods |
The Polynomial type exposes the following members.
Name | Description | |
---|---|---|
Add(Polynomial, Polynomial) | Addition of two Polynomials (point-wise). | |
Add(Polynomial, Double) | Addition of a polynomial and a scalar. | |
Clone | ||
Differentiate | ||
Divide | Scales a polynomial by division by a scalar | |
DivideRemainder(Polynomial) | Division of two polynomials returning the quotient-with-remainder of the two polynomials given | |
DivideRemainder(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 | |
EigenvalueMatrix | Get the eigenvalue matrix A of this polynomial such that eig(A) = roots of this polynomial. | |
Equals(Object) | (Overrides ObjectEquals(Object)) | |
Equals(Polynomial) | ||
Evaluate(Complex) | Evaluate a polynomial at point x. | |
Evaluate(Double) | Evaluate a polynomial at point x. | |
Evaluate(IEnumerableDouble) | Evaluate a polynomial at points z. | |
Evaluate(IEnumerableComplex) | Evaluate a polynomial at points z. | |
Evaluate(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. | |
Evaluate(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. | |
Evaluate(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. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
Fit | Least-Squares fitting the points (x,y) to a k-order polynomial y : x -> p0 + p1*x + p2*x^2 + ... + pk*x^k | |
GetHashCode | (Overrides ObjectGetHashCode) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
Integrate | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
Multiply(Polynomial, Polynomial) | Multiplies a polynomial by a polynomial (convolution) | |
Multiply(Polynomial, Double) | Scales a polynomial by a scalar | |
Negate | Negation of a polynomial. | |
PointwiseDivide | Point-wise division of two Polynomials | |
PointwiseMultiply | Point-wise multiplication of two Polynomials | |
Roots | Calculates the complex roots of the Polynomial by eigenvalue decomposition | |
Subtract(Double, Polynomial) | Addition of a polynomial from a scalar. | |
Subtract(Polynomial, Polynomial) | Subtraction of two Polynomials (point-wise). | |
Subtract(Polynomial, Double) | Addition of a scalar from a polynomial. | |
ToString |
Format the polynomial in ascending order, e.g. "4.3 + 2.0x^2 - x^3".
(Overrides ObjectToString) | |
ToString(IFormatProvider) | Format the polynomial in ascending order, e.g. "4.3 + 2.0x^2 - x^3". | |
ToString(String) | Format the polynomial in ascending order, e.g. "4.3 + 2.0x^2 - x^3". | |
ToString(String, IFormatProvider) | Format the polynomial in ascending order, e.g. "4.3 + 2.0x^2 - x^3". | |
ToStringDescending | Format the polynomial in descending order, e.g. "x^3 + 2.0x^2 - 4.3". | |
ToStringDescending(IFormatProvider) | Format the polynomial in descending order, e.g. "x^3 + 2.0x^2 - 4.3". | |
ToStringDescending(String) | Format the polynomial in descending order, e.g. "x^3 + 2.0x^2 - 4.3". | |
ToStringDescending(String, IFormatProvider) | Format the polynomial in descending order, e.g. "x^3 + 2.0x^2 - 4.3". |