Special.LegendrePSeries(Vector<Double>, Double) Method

Evaluates a series of Legendre polynomials.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static double LegendrePSeries(
	Vector<double> coefficients,
	double x
)

Parameters

coefficients  Vector<Double>
A vector containing the coefficients.
x  Double
The value for which to evaluate the series.

Return Value

Double
The sum of the Legendre polynomials at x multiplied by the corresponding element of coefficients.

Exceptions

ArgumentNullException

coefficients is null.

See Also