jax.scipy.special.lpmn — JAX documentation (original) (raw)

jax.scipy.special.lpmn#

jax.scipy.special.lpmn(m, n, z)[source]#

The associated Legendre functions (ALFs) of the first kind.

Parameters:

Returns:

A 2-tuple of 3D arrays of shape (l_max + 1, l_max + 1, len(z)) containing the values and derivatives of the associated Legendre functions of the first kind. The return type matches the type of z.

Raises:

Return type:

tuple[Array, Array]