Difference between revisions of "Lin2lmn.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 10: Line 10:
 
     [L,M,N]=lin2lmn(I)
 
     [L,M,N]=lin2lmn(I)
  
−
==Arguments==
+
==Parameters==
  
 
     I  - linear indices of Wigner D functions, with
 
     I  - linear indices of Wigner D functions, with

Revision as of 17:50, 5 June 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)

Parameters

    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