David Joiner, The Shodor Education Foundation, Inc.
Contributor:
none listed
Publisher:
The Computational Science Education Reference Desk
Description:
SphericalHarmonic returns the value of P(theta,phi) where theta and phi are defined in terms of a standard spherical coordinate system (phi measures angle (x,y,z) makes with z axis.) The algorithm is taken from Messiah's Quantum Mechanics, but readers should note that Messiah defines theta and phi in opposite order from this implementation.