Difference between revisions of "Sphten2mat.m"
(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...") |
|||
| 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 | + | 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) | |
| − | + | ==Arguments== | |
| − | |||
| − | + | 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== | |
| − | |||
| − | |||
| − | See | + | M - 3x3 interaction tensor |
| + | |||
| + | ==See also== | ||
| + | [[irr_sph_ten.m]], [[pauli.m]], [[mat2sphten.m]], [[wigner.m]], [[stevens.m]] | ||
| + | |||
| + | |||
| + | ''Version 2.3, authors: [[Ilya Kuprov]]'' | ||
Revision as of 13:51, 27 December 2018
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)
Arguments
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
Version 2.3, authors: Ilya Kuprov