Difference between revisions of "Lmn2lin.m"

From Spinach Documentation Wiki
Jump to: navigation, search
 
(Update function See also links and function index membership)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
Converts L,M,N Wigner function specification to linear indexing speci-
+
{{DISPLAYTITLE:lmn2lin.m}} __NOTOC__
−
fication. In the linear indexing convention, the Wigner functions are
+
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:
−
listed in the order of increasing L rank. Within each L rank, the func-
 
−
tions are listed in the order of decreasing left index, and, for each
 
−
left index, in the order of decreasing right index. Syntax:
 
  
−
                          I=lmn2lin(L,M,N)
+
                    (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...
  
−
Wigner functions are enumerated using base one indexing, that is:
+
==Syntax==
−
           
 
−
                      (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...
 
  
−
Arrays of any dimension are accepted as arguments.
+
    I=lmn2lin(L,M,N)
 +
 
 +
==Parameters==
 +
 
 +
    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]], [[adelim.m]], [[coherence.m]], [[correlation.m]], [[dfpt.m]], [[homospoil.m]], [[human2opspec.m]], [[path_trace.m]], [[scomponents.m]], [[sinkhole.m]], [[sparse2csr.m]], [[sphten2zeeman.m]], [[stitch.m]], [[zte.m]], [[Kernel_utilities]]
 +
 
 +
''Version 2.3, authors: [[Ilya Kuprov]]''

Latest revision as of 18:38, 6 June 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)

Parameters

    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, adelim.m, coherence.m, correlation.m, dfpt.m, homospoil.m, human2opspec.m, path_trace.m, scomponents.m, sinkhole.m, sparse2csr.m, sphten2zeeman.m, stitch.m, zte.m, Kernel_utilities

Version 2.3, authors: Ilya Kuprov