Difference between revisions of "Qform2sph.m"
(Created page with "Returns the spherical expansion coefficients of RT*A*R/R^2=Sum(rL(M)YLM). Parameters: A - 3x3 matrix Output: [r0,r1,r2] - coefficients for zero, first, and second rank sp...") |
|||
| Line 1: | Line 1: | ||
| − | Returns the spherical expansion coefficients of | + | {{DISPLAYTITLE:qform2sph.m}} __NOTOC__ |
| − | + | Returns the spherical harmonic expansion coefficients of the following quadratic form: | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | [x y z]*A*[x y z]'/norm([x y z],2)^2 = sum(r_LM*Y_LM) | |
| + | |||
| + | ==Syntax== | ||
| + | |||
| + | [r0,r1,r2]=qform2sph(A) | ||
| + | |||
| + | ==Arguments== | ||
| + | |||
| + | A - a symmetric 3x3 matrix | ||
| + | |||
| + | ==Outputs== | ||
| + | |||
| + | [r0,r1,r2] - coefficients for zero, first, | ||
| + | and second rank spherical | ||
| + | harmonics in the order of | ||
| + | decreasing m index of Ylm | ||
| + | |||
| + | ==See also== | ||
| + | [[xyz2sph.m]], [[stev2sph.m]], [[wigner.m]] | ||
| + | |||
| + | |||
| + | ''Version 2.4, authors: [[Elizaveta Suturina]], [[Ilya Kuprov]]'' | ||
Revision as of 10:39, 25 July 2019
Returns the spherical harmonic expansion coefficients of the following quadratic form:
[x y z]*A*[x y z]'/norm([x y z],2)^2 = sum(r_LM*Y_LM)
Syntax
[r0,r1,r2]=qform2sph(A)
Arguments
A - a symmetric 3x3 matrix
Outputs
[r0,r1,r2] - coefficients for zero, first,
and second rank spherical
harmonics in the order of
decreasing m index of Ylm
See also
xyz2sph.m, stev2sph.m, wigner.m
Version 2.4, authors: Elizaveta Suturina, Ilya Kuprov