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