Special.LegendreP Method

Evaluates the Legendre polynomial of the specified degree.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static double LegendreP(
	int degree,
	double x
)

Parameters

degree  Int32
The degree of the Legendre polynomial.
x  Double
A real number.

Return Value

Double
The value of the Legendre polynomial of degree degree evaluated at x.

Exceptions

ArgumentOutOfRangeException

degree is less than zero.

See Also