![]() |
libftsh
A Fast Transform for Spherical Harmonics
|
Perform the fast1 spherical harmonic transform. More...
#include "libftsh.h"Defines | |
| #define | ENTEREXIT 0 |
Functions | |
| void | Pm_1d_analyse (REAL *outcoef, Pm_1D *inmat, REAL *infcn, Pm_1D_Workspace *pmnwork) |
| void | Pm_1d_synthesize (REAL *outfcn, Pm_1D *inmat, REAL *incoef, Pm_1D_Workspace *pmnwork) |
Perform the fast1 spherical harmonic transform.
Summary:
| void Pm_1d_analyse | ( | REAL * | outcoef, |
| Pm_1D * | inmat, | ||
| REAL * | infcn, | ||
| Pm_1D_Workspace * | pmnwork | ||
| ) |
Expands (analyses) a function into spherical harmonic coefficients.
This routine only does one order (m) so it is really only an Associaded Legendre Function analyser.
INPUTS:
OUTPUTS: outcoef -- an array of the coefficients computed. The information on how many of these to compute is encoded by the number of rows in inmat.
NOTES:

| void Pm_1d_synthesize | ( | REAL * | outfcn, |
| Pm_1D * | inmat, | ||
| REAL * | incoef, | ||
| Pm_1D_Workspace * | pmnwork | ||
| ) |
Evaluates (synthesizes) a function from spherical harmonic coefficients.
This routine only does one order (m) so it is really only an Associaded Legendre Function synthesizer.
INPUTS:
OUTPUTS: outfcn -- an array of REALs to hold the computed function. Its length is encoded in the number of columns in inmat.
NOTES:

1.8.0