Polynomial.From Roots Method
Constructs a new polynomial that has the specified
roots.
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A polynomial with the specified roots.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Polynomial FromRoots(
params double[] roots
)
Parameters
- roots Double[]
- A list of roots.
Return Value
PolynomialA polynomial with the specified roots.
Remarks
The degree of the polynomial is equal to the number of roots. You can specify the same root multiple times.
Exceptions
Argument | roots is null. |