Meta.Numerics Library
LegendreP Method (l, x)
Meta.NumericsMeta.Numerics.FunctionsOrthogonalPolynomialsLegendreP(Int32, Double)
Computes the value of a Legendre polynomial.
Declaration Syntax
C#Visual BasicVisual C++F#
public static double LegendreP(
	int l,
	double x
)
Public Shared Function LegendreP ( _
	l As Integer, _
	x As Double _
) As Double
public:
static double LegendreP(
	int l, 
	double x
)
static member LegendreP : 
        l:int * 
        x:float -> float 
Parameters
l (Int32)
The order, which must be non-negative.
x (Double)
The argument, which must lie on the closed interval between -1 and +1.
Return Value
The value of Pl(x).
Remarks

Legendre polynomials are orthogonal on the interval [-1,1].

See Also