Polynomial.Evaluate Method
Evaluates a polynomial with the specified coefficients.
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The value of the polynomial with the elements of coefficients as coefficients at the value x.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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. |