flegendre¶
-
pydl.goddard.math.flegendre(x, m)[source]¶ Compute the first
mLegendre polynomials.Parameters: x : array-like
Compute the Legendre polynomials at these abscissa values.
m :
intThe number of Legendre polynomials to compute. For example, if m = 3, P_0 (x), P_1 (x) and P_2 (x) will be computed.
Returns: numpy.ndarray