Polynomial<T>.From Roots Method
Constructs a new polynomial that has the specified
roots.
Definition
Namespace: Numerics.NET.Curves.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
C#
A polynomial with the specified roots.
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
public static Polynomial<T> FromRoots(
params T[] roots
)
Parameters
- roots T[]
- A list of roots.
Return Value
Polynomial<T>A 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. |