# Wigner.m

Computes Wigner matrices of user-specified ranks. Syntax:

                 D=wigner(l,alp,bet,gam)


where alp, bet and gam are Euler angles in radians. Rows and columns of the resulting Wigner matrix are sorted by descending ranks, e.g.:

                        [D( 2,2)  ...  D( 2,-2)
...    ...    ...
D(-2,2)  ...  D(-2,-2)]


The resulting Wigner matrix is to be used as v=W*v, where v is a column vector of irreducible spherical tensor coefficients, listed vertically in the order: T(2,2), T(2,1), T(2,0), T(2,-1), T(2,-2).