Difference between revisions of "Qform2sph.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(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...")
 
(Update function See also links and function index membership)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
Returns the spherical expansion coefficients of RT*A*R/R^2=Sum(rL(M)YLM).
+
{{DISPLAYTITLE:qform2sph.m}} __NOTOC__
−
Parameters:
+
Returns the spherical harmonic expansion coefficients of the following quadratic form:
−
  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)
+
    [x y z]*A*[x y z]'/norm([x y z],2)^2 = sum(r_LM*Y_LM)
 +
 
 +
==Syntax==
 +
 
 +
    [r0,r1,r2]=qform2sph(A)
 +
 
 +
==Parameters==
 +
 
 +
    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]], [[cgsppm2ang.m]], [[fdhess.m]], [[fdkup.m]], [[fdlap.m]], [[fdmat.m]], [[fdvec.m]], [[fdweights.m]], [[interpmat.m]], [[points2mult.m]], [[Hyperfine_shift_module]]
 +
 
 +
''Version 2.4, authors: [[Elizaveta Suturina]], [[Ilya Kuprov]]''

Latest revision as of 19:40, 6 June 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)

Parameters

    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, cgsppm2ang.m, fdhess.m, fdkup.m, fdlap.m, fdmat.m, fdvec.m, fdweights.m, interpmat.m, points2mult.m, Hyperfine_shift_module

Version 2.4, authors: Elizaveta Suturina, Ilya Kuprov