wigner3j
Introduced in 2.2
Synopsis

Wigner 3-j symbols.

v = wigner3j(j1,j2,j3,m1,m2,m3)
v = wigner3j(jm1,jm2,jm3)
v = wigner3j(j,m)
Description

wigner3j returns the value of the 3-j symbol

[eqn]

The six parameters can be specified separately or in groups. In the three-argument form, wigner3j takes jm1 = [j1 m1] etc., if two arguments are given, it takes j = [j1 j2 j3] and m = [m1 m2 m3].

Examples
wigner3j([1 1 0],[0 0 0])
ans =
   -0.5774
wigner3j([1 1 2],[0 0 0])
ans =
    0.3651
Algorithm

wigner3j uses an explicit formula based on factorials. However, the formula is used in a logarithmic form to allow accurate computation of 3-j symbols with high j values.

See also

clebschgordan, wigner6j