Click or drag to resize

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.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public 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

Double

[Missing <returns> documentation for "M:Altaxo.Calc.Polynomial.Evaluate(System.Double,System.Double[])"]

Exceptions
ExceptionCondition
ArgumentNullExceptioncoefficients is a null reference.
See Also