Polynomial<T>.Evaluate Method
Evaluates a polynomial with the specified coefficients.
Definition
Namespace: Numerics.NET.Curves.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
C#
The value of the polynomial with the elements of coefficients as coefficients at the value x.
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
public static T Evaluate(
IList<T> coefficients,
T x
)
Parameters
- coefficients IList<T>
- A list of coefficients, starting with the constant term.
- x T
- The point at which to evaluate the polynomial.
Return Value
TThe value of the polynomial with the elements of coefficients as coefficients at the value x.
Exceptions
Argument | coefficients is null. |