ARTS  2.2.66
wigner_functions.cc File Reference
#include "wigner_functions.h"
#include <stdexcept>
#include <sstream>

Go to the source code of this file.

Functions

Numeric wigner3j (const Rational j1, const Rational j2, const Rational j3, const Rational m1, const Rational m2, const Rational m3)
 
Numeric wigner6j (const Rational j1, const Rational j2, const Rational j3, const Rational J1, const Rational J2, const Rational J3)
 

Function Documentation

◆ wigner3j()

Numeric wigner3j ( const Rational  j1,
const Rational  j2,
const Rational  j3,
const Rational  m1,
const Rational  m2,
const Rational  m3 
)

Equation 34.2.4 in http://dlmf.nist.gov/34.2

Some test cases to simplify the calculations are made for m_i=0.

Definition at line 28 of file wigner_functions.cc.

References abs, factorials(), Rational::toIndex(), and triangular_inequality().

◆ wigner6j()

Numeric wigner6j ( const Rational  j1,
const Rational  j2,
const Rational  j3,
const Rational  J1,
const Rational  J2,
const Rational  J3 
)

Equation 34.4.2 in http://dlmf.nist.gov/34.4 may be invalid.

Using Equation 4 in http://mathworld.wolfram.com/Wigner6j-Symbol.html instead

Simplifications are made for J1 = 1.

Definition at line 119 of file wigner_functions.cc.

References factorials(), Rational::toIndex(), Rational::toNumeric(), triangle_coefficient(), and triangular_inequality().

Referenced by test45().