Difference between revisions of "Multipack.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:function.m}} Packs multipole moments from a linear stream into a cell array that is arranged by ranks. ==Syntax== Ilm=multipack(ranks,moments) ==Argumen...")
 
(Update function See also links and function index membership)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
{{DISPLAYTITLE:function.m}}
+
{{DISPLAYTITLE:multipack.m}} __NOTOC__
 
Packs multipole moments from a linear stream into a cell array that is arranged by ranks.
 
Packs multipole moments from a linear stream into a cell array that is arranged by ranks.
  
Line 6: Line 6:
 
     Ilm=multipack(ranks,moments)
 
     Ilm=multipack(ranks,moments)
  
−
==Arguments==
+
==Parameters==
  
 
       ranks - a vector of spherical ranks present, e.g. [0 1 2]
 
       ranks - a vector of spherical ranks present, e.g. [0 1 2]
Line 17: Line 17:
 
       Ilm  - a cell array of vector corresponding to the multipole
 
       Ilm  - a cell array of vector corresponding to the multipole
 
               moments defined in http://dx.doi.org/10.1039/c6cp05437d
 
               moments defined in http://dx.doi.org/10.1039/c6cp05437d
−
             
+
 
                 for L=0,  one element
 
                 for L=0,  one element
−
             
+
 
                 for L=1,  three elements
 
                 for L=1,  three elements
−
             
+
 
                 for L=2,  five elements
 
                 for L=2,  five elements
 
   
 
   
Line 27: Line 27:
  
 
==See also==
 
==See also==
−
[[lpcs.m]], [[ilpcs.m]]
+
[[lpcs.m]], [[ilpcs.m]], [[add_spins.m]], [[cg_fast.m]], [[clebsch_gordan.m]], [[comm.m]], [[hilb2liouv.m]], [[irr_sph_ten.m]], [[ist_product_table.m]], [[lorentz.m]], [[mat2sphten.m]], [[pauli.m]], [[perm_group.m]], [[rocomm.m]], [[rwalk.m]], [[sle_operators.m]], [[sorensen.m]], [[spher_harmon.m]], [[sphten2mat.m]], [[stev2sph.m]], [[stevens.m]], [[superop.m]], [[twospinist.m]], [[wigner.m]], [[wigner_3j.m]], [[wigner_6j.m]], [[Kernel_utilities]]
−
 
 
  
−
''Version 2.1, authors: [[Ilya Kuprov]], [[Elizaveta Suturina]]''
+
''Version 2.8, authors: [[Ilya Kuprov]], [[Elizaveta Suturina]]''

Latest revision as of 18:39, 6 June 2026

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

Syntax

    Ilm=multipack(ranks,moments)

Parameters

     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, add_spins.m, cg_fast.m, clebsch_gordan.m, comm.m, hilb2liouv.m, irr_sph_ten.m, ist_product_table.m, lorentz.m, mat2sphten.m, pauli.m, perm_group.m, rocomm.m, rwalk.m, sle_operators.m, sorensen.m, spher_harmon.m, sphten2mat.m, stev2sph.m, stevens.m, superop.m, twospinist.m, wigner.m, wigner_3j.m, wigner_6j.m, Kernel_utilities

Version 2.8, authors: Ilya Kuprov, Elizaveta Suturina