Multiplication table of spherical harmonics. More...
#include <spherical_expansion.h>
Public Member Functions | |
SphericalExpansionMultiplicationTable (int maxam=max_am) | |
Construct multiplication table that supports spherical harmonics up to maxam. | |
~SphericalExpansionMultiplicationTable () | |
Destructor. | |
void | print () const |
Print multiplication table. | |
SphericalExpansion | mult (const SphericalExpansion &lhs, const SphericalExpansion &rhs) const |
Multiplication operator. | |
Private Attributes | |
std::vector< SphericalExpansion > | table |
Multiplication table of spherical harmonics. | |
int | maxam |
Maximum angular momentum supported. | |
Multiplication table of spherical harmonics.
This class is used to speed up multiplication, since they only need be computed once.