Spherical functions pi and tau.
The algorithm to compute the functions was taken from "Light Scattering by Systems of Particles, Null-Field Method with
Discrete Sources: Theory and Programs" by A. Doicu, T. Wriedt, and Y.A. Eremin
For the definition of the pi and tau functions, see the theory section
- Parameters
-
theta | (float array): polar angles |
lmax | (int): maximal degree l of P_l^m |
- Return values
-
pilm | (cell array): pilm{l+1,m+1} contains pi_l^m(cos(theta)) |
taulm | (cell array): taulm{l+1,m+1} contains pi_l^m(cos(theta)) |