public static double LegendreP(
int ell,
int m,
double x
)
Public Shared Function LegendreP (
ell As Integer,
m As Integer,
x As Double
) As Double
public:
static double LegendreP(
int ell,
int m,
double x
)
static member LegendreP :
ell : int *
m : int *
x : float -> float
Associated Legendre polynomials appear in the definition of the SphericalHarmonic(Int32, Int32, Double, Double) functions.
For values of l and m over about 150, values of this polynomial can exceed the capacity of double-wide floating point numbers.
ArgumentOutOfRangeException | ell is negative, m lies outside {-ℓ .. +ℓ}, or x lies outside [-1, +1]. |