qform2sph.m

From Spinach Documentation Wiki
Jump to: navigation, search

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