Skip to main content

sph_legendre_p_all

Function sph_legendre_p_all 

Source
pub fn sph_legendre_p_all<T: LegendrePArg>(
    n: usize,
    m: usize,
    z: T,
) -> Vec<Vec<T>>
Expand description

All spherical Legendre polynomials of the 1st kind

Output shape is (n+1, 2m+1). The entry at (j, i) corresponds to degree j in 0..=n and order i in -m..=m.

Corresponds to scipy.special.sph_legendre_p_all.

ยงSee also