Difference between revisions of "Qform2sph.m"
(Normalise sequential blank lines) |
|||
| Line 21: | Line 21: | ||
==See also== | ==See also== | ||
[[xyz2sph.m]], [[stev2sph.m]], [[wigner.m]] | [[xyz2sph.m]], [[stev2sph.m]], [[wigner.m]] | ||
| − | |||
''Version 2.4, authors: [[Elizaveta Suturina]], [[Ilya Kuprov]]'' | ''Version 2.4, authors: [[Elizaveta Suturina]], [[Ilya Kuprov]]'' | ||
Revision as of 12:28, 25 April 2026
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