spherical_harmonic
Calculates the spherical harmonic. Spherical harmonics are the angular portion of the solutionto Laplace's equation in spherical coordinates where azimuthalsymmetry is not present. Depending on input, function can return scalar, vector, matrix or complex number.
Arguments
- Integer value n
- Integer value m
- Real value theta
- Real value phi
Output
Complex number result
Examples