55 const double dFunction(
unsigned twoJ,
int twoM,
int twoN,
double beta);
58 inline const std::complex<double>
DFunction(
unsigned twoJ,
int twoM,
int twoN,
double alpha,
double beta,
double gamma)
59 {
return std::exp(-
Complex_i * (alpha * twoM + gamma * twoN) / 2.) *
dFunction(twoJ, twoM, twoN, beta); }
65 void cache(
unsigned int twoJ);
68 const unsigned cacheSize();
constexpr auto Complex_i
complex i
Definition: Constants.h:41
const double dFunction(unsigned twoJ, int twoM, int twoN, double beta)
Definition: WignerD.cxx:29
const std::complex< double > DFunction(unsigned twoJ, int twoM, int twoN, double alpha, double beta, double gamma)
Wigner D-function .
Definition: WignerD.h:58