YAP
|
Functions for caching and calculating Wigner d and D functions. More...
Go to the source code of this file.
Namespaces | |
yap | |
Functions | |
const double | dFunction (unsigned twoJ, int twoM, int twoN, double beta) |
const std::complex< double > | DFunction (unsigned twoJ, int twoM, int twoN, double alpha, double beta, double gamma) |
Wigner D-function ![]() | |
void | cache (unsigned int twoJ) |
const unsigned | cacheSize () |
Functions for caching and calculating Wigner d and D functions.
Calculation is based on M. E. Rose's Elementary Theory of Angular Momentum (1957):
with and
.
The limits on K are governed by the factorials, since if
.
We only cache matrix elements with M in [-J, J] and N in [-J, min(0, m)]. This amounts to the lower triangle and the diagonal without the bottom right corner. The uncached matrix elements are given by the by the symmetries