Difference between revisions of "Lmn2lin.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]], [[lin2lmn.m]], [[wigner.m]], [[dcm2wigner.m]], [[irr_sph_ten.m]]
 
[[lin2lm.m]], [[lm2lin.m]], [[lin2lmn.m]], [[wigner.m]], [[dcm2wigner.m]], [[irr_sph_ten.m]]
−
 
  
 
''Version 2.3, authors: [[Ilya Kuprov]]''
 
''Version 2.3, authors: [[Ilya Kuprov]]''

Revision as of 12:27, 25 April 2026

Converts L,M,N indices of Wigner D functions into linear 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:

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

Syntax

    I=lmn2lin(L,M,N)

Arguments

    L   - ranks of Wigner D functions

    M   - row indices of Wigner D functions

    N   - column indices of Wigner D functions

Outputs

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

See also

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

Version 2.3, authors: Ilya Kuprov