RealPolynomial Class

Public Class RealPolynomial
This language is not supported or no code example is available.
public class RealPolynomial
This language is not supported or no code example is available.
public ref class RealPolynomial 
This language is not supported or no code example is available.
public class RealPolynomial
This language is not supported or no code example is available.
Name Description
Public constructor RealPolynomial(RealPolynomial)
Public constructor RealPolynomial(params double[]) Creates a polynomial with the most significant coefficient first. For example new RealPolynomial(3,4,5) creates the polynomial 3x^2 + 4x + 5. The order of the coefficients is reversed internally
Top
Name Description
Public property Degree
Public property Derivative
Public property Item(int)
Public property LargestCoefficient Gets the coefficient that has the highest absoulte value.
Top
Methods
 
Name Description
Public method Clean(double) Removes zero valued coeficients first in polynomial. Returns true if anything was removed.
Public method Copy()
Public method Static DerivativeCoefficients(double[])
Public method Differentiate()
Public method DivMod(RealPolynomial, out RealPolynomial, out RealPolynomial)
Public method Eval(double)
Public method Static EvalCoefficients(double[], double)
Public method FindRoots(bool, double, double)
Public method Static FromRoots(params double[])
Public method IsConstant(double, double)
Public method Normalize(double) Divides all coefficients with the largest coefficients, so that all coefficients becomes between -1 and 1 Returns the divisor of the normalization, or 0.0 if polynomial could not be normalized (all factors=0).
Public method Pow(int)
Public method Static SolveCubic(double, double, double, double, double)
Public method Static SolveLinear(double, double) Returns an array with the solution of the equation ax+b This array can 1 elements long or null is returned.
Public method Static SolveQuadric(double, double, double, out double, out double) Solves the equation ax^2+bx+c. Returns true if it was solvable. If not solvable, x1 and y1 is set to Nan. The results x1 is always less or equal to x2, ie result are sorted.
Public method Static SolveQuadric(double, double, double, double) Returns an array with the real solutions of euqtion ax^2+bx+c=0 This array can be 0,1 or 2 elements long.
Public method Static SolveQuartic(double, double, double, double, double, double) Returns an array with the real solutions of eqution ax^4+bx^3+cx^2+dx+e=0 This array can be 1 to 4 elements long. If no solutions found, null is returned.
Public method ToString() Returns a string that represents the current object.
Public method ZeroClampCoefficients(double)
Top
Fields
 
Name Description
Public field Static One
Public field Static Zero
Top
IGS.Genamo.RealPolynomial

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition