Qform2sph.m

From Spinach Documentation Wiki
Revision as of 09:51, 30 August 2016 by Suturina (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 spherical
              harmonics in the order -m:m 
 [r0,r1,r2]=qform2sph(A)