PolynomialEvaluate(Double, Double) Method |
Evaluate a polynomial at point x.
Coefficients are ordered ascending by power with power k at index k.
Example: coefficients [3,-1,2] represent y=2x^2-x+3.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double Evaluate(
double z,
params double[] coefficients
)
Parameters
- z Double
- The location where to evaluate the polynomial at.
- coefficients Double
- The coefficients of the polynomial, coefficient for power k at index k.
Return Value
DoubleThe polynomial value at
z.
Exceptions
See Also