Difference between revisions of "Multipack.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
Line 30: Line 30:
  
 
[[Kernel_utilities#SU.282.29.2C_SO.283.29.2C_and_other_groups|SU(2), SO(3), and other groups]]
 
[[Kernel_utilities#SU.282.29.2C_SO.283.29.2C_and_other_groups|SU(2), SO(3), and other groups]]
−
 
  
 
''Version 2.8, authors: [[Ilya Kuprov]], [[Elizaveta Suturina]]''
 
''Version 2.8, authors: [[Ilya Kuprov]], [[Elizaveta Suturina]]''

Revision as of 11:27, 25 April 2026

Packs multipole moments from a linear stream into a cell array that is arranged by ranks.

Syntax

    Ilm=multipack(ranks,moments)

Arguments

     ranks - a vector of spherical ranks present, e.g. [0 1 2]

     moments - a vector of multipole moments for each rank,
               arranged in a linear stream

Outputs

     Ilm   - a cell array of vector corresponding to the multipole
             moments defined in http://dx.doi.org/10.1039/c6cp05437d
              
               for L=0,  one element
              
               for L=1,  three elements
              
               for L=2,  five elements

             et cetera.

See also

lpcs.m, ilpcs.m

SU(2), SO(3), and other groups

Version 2.8, authors: Ilya Kuprov, Elizaveta Suturina