Difference between revisions of "Lin2lmn.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
Line 25: Line 25:
 
==See also==
 
==See also==
 
[[lin2lm.m]], [[lm2lin.m]], [[lmn2lin.m]], [[wigner.m]], [[dcm2wigner.m]], [[irr_sph_ten.m]]
 
[[lin2lm.m]], [[lm2lin.m]], [[lmn2lin.m]], [[wigner.m]], [[dcm2wigner.m]], [[irr_sph_ten.m]]
−
 
  
 
''Version 2.3, authors: [[Ilya Kuprov]]''
 
''Version 2.3, authors: [[Ilya Kuprov]]''

Revision as of 11:27, 25 April 2026

Converts linear indices of Wigner D functions into L,M,N indices. In the linear indexing convention, Wigner D functions are listed in the order of increasing L rank. Within each L, the functions are listed in the order of decreasing left index M, and, for each M, in the order of decreasing N index. One base counting is used:

                    I=1 -> (L=0,M=0,N=0)
                    I=2 -> (L=1,M=1,N=1)
                    I=3 -> (L=1,M=1,N=0), et cetera...

Syntax

    [L,M,N]=lin2lmn(I)

Arguments

    I   - linear indices of Wigner D functions, with
          I=1 corresponding to L=0, M=0, N=0.

Outputs

    L   - ranks of Wigner D functions

    M   - row indices of Wigner D functions

    N   - column indices of Wigner D functions

See also

lin2lm.m, lm2lin.m, lmn2lin.m, wigner.m, dcm2wigner.m, irr_sph_ten.m

Version 2.3, authors: Ilya Kuprov