Difference between revisions of "Sphten2mat.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "Converts the nine components of the irreducible spherical tensor representation of an interaction tensor into the Cartesian representation with a 3x3 matrix. Spherical tenso...")
 
(Update function See also links and function index membership)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Converts the nine components of the irreducible spherical tensor representation of an interaction tensor into the Cartesian representation with a 3x3 matrix.  
+
{{DISPLAYTITLE:sphten2mat.m}} __NOTOC__
 +
Converts the nine components of the irreducible spherical tensor representation of an interaction tensor into the Cartesian representation with a 3x3 matrix. The conventions are matched to Equation (18) of the paper by Len Mueller (http://dx.doi.org/10.1002/cmr.a.20224).
  
 
Spherical tensor components should be listed in the following order:
 
Spherical tensor components should be listed in the following order:
Line 7: Line 8:
 
  rank 2: (2,2) (2,1) (2,0) (2,-1) (2,-2)
 
  rank 2: (2,2) (2,1) (2,0) (2,-1) (2,-2)
  
and should be supplied as coefficients in front of the corresponding irreducible spherical tenror operators. Syntax:
+
and should be supplied as coefficients in front of the corresponding irreducible spherical tensor operators returned by [[irr_sph_ten.m]] function.
  
                    M=sphten2mat(rank0,rank1,rank2)
+
==Syntax==
  
Parameters:
+
    M=sphten2mat(rank0,rank1,rank2)
  
  rank0      - a single number giving the coefficient of T(0,0) in
+
==Parameters==
                the spherical tensor expansion.
 
  
  rank1      - a row vector with three numbers giving the coeffici-
+
    rank0      - a single number giving the coefficient of T(0,0) in
                ents of T(1,1), T(1,0) and T(1,-1) in the spherical
+
                  the spherical tensor expansion.
                tensor expansion.
+
 +
    rank1      - a row vector with three numbers giving the coeffici-
 +
                  ents of T(1,1), T(1,0) and T(1,-1) in the spherical
 +
                  tensor expansion.
 +
 +
    rank2      - a row vector with five numbers giving the coeffici-
 +
                  ents of T(2,2), T(2,1), T(2,0), T(2,-1) and T(2,-2)
 +
                  in the spherical tensor expansion.
  
  rank2      - a row vector with five numbers giving the coeffici-
+
==Outputs==
                ents of T(2,2), T(2,1), T(2,0), T(2,-1) and T(2,-2)
 
                in the spherical tensor expansion.
 
  
See Table 1 in http://dx.doi.org/10.1016/0022-2364(77)90011-7 (note that minus signs are absorbed into the coefficients in Spinach).
+
    M          - 3x3 interaction tensor
 +
 
 +
==See also==
 +
[[irr_sph_ten.m]], [[pauli.m]], [[mat2sphten.m]], [[wigner.m]], [[stevens.m]], [[add_spins.m]], [[cg_fast.m]], [[clebsch_gordan.m]], [[comm.m]], [[hilb2liouv.m]], [[ist_product_table.m]], [[lorentz.m]], [[multipack.m]], [[perm_group.m]], [[rocomm.m]], [[rwalk.m]], [[sle_operators.m]], [[sorensen.m]], [[spher_harmon.m]], [[stev2sph.m]], [[superop.m]], [[twospinist.m]], [[wigner_3j.m]], [[wigner_6j.m]], [[Kernel_utilities]]
 +
 
 +
''Version 2.8, authors: [[Ilya Kuprov]]''

Latest revision as of 19:41, 6 June 2026

Converts the nine components of the irreducible spherical tensor representation of an interaction tensor into the Cartesian representation with a 3x3 matrix. The conventions are matched to Equation (18) of the paper by Len Mueller (http://dx.doi.org/10.1002/cmr.a.20224).

Spherical tensor components should be listed in the following order:

rank 0: (0,0)
rank 1: (1,1) (1,0) (1,-1)
rank 2: (2,2) (2,1) (2,0) (2,-1) (2,-2)

and should be supplied as coefficients in front of the corresponding irreducible spherical tensor operators returned by irr_sph_ten.m function.

Syntax

    M=sphten2mat(rank0,rank1,rank2)

Parameters

    rank0      - a single number giving the coefficient of T(0,0) in
                 the spherical tensor expansion.

    rank1      - a row vector with three numbers giving the coeffici-
                 ents of T(1,1), T(1,0) and T(1,-1) in the spherical
                 tensor expansion.

    rank2      - a row vector with five numbers giving the coeffici-
                 ents of T(2,2), T(2,1), T(2,0), T(2,-1) and T(2,-2)
                 in the spherical tensor expansion.

Outputs

    M          - 3x3 interaction tensor

See also

irr_sph_ten.m, pauli.m, mat2sphten.m, wigner.m, stevens.m, add_spins.m, cg_fast.m, clebsch_gordan.m, comm.m, hilb2liouv.m, ist_product_table.m, lorentz.m, multipack.m, perm_group.m, rocomm.m, rwalk.m, sle_operators.m, sorensen.m, spher_harmon.m, stev2sph.m, superop.m, twospinist.m, wigner_3j.m, wigner_6j.m, Kernel_utilities

Version 2.8, authors: Ilya Kuprov