Struct
NumCosmoMathSFSphericalHarmonicsYArray
Description [src]
struct NcmSFSphericalHarmonicsYArray {
gint l;
gint l0;
gint m;
gint len;
gdouble x[6];
gdouble sqrt1mx2[6];
gdouble Yl0m[12];
gdouble Ylm[12];
NcmSFSphericalHarmonicsK* Klm;
NcmSFSphericalHarmonics* spha;
gdouble abstol;
}
State of the recursion at several angles; see NcmSFSphericalHarmonics. Yl0m and
Ylm are indexed with NCM_SF_SPHERICAL_HARMONICS_ARRAY_INDEX().
Structure members
l:gintCurrent order $l$.
l0:gintOrder $l_0$ of the seeds.
m:gintCurrent $m$.
len:gintNumber of angles.
x:gdouble$x_i = \cos\theta_i$.
sqrt1mx2:gdouble$\sin\theta_i$.
Yl0m:gdoubleSeeds $\bar{Y}{l_0}^m(x_i)$ and $\bar{Y}{l_0+1}^m(x_i)$, scaled by $10^{280}$.
Ylm:gdouble$\bar{Y}l^m(x_i)$ and $\bar{Y}{l+1}^m(x_i)$.
Klm:NcmSFSphericalHarmonicsKCoefficients of the next step.
spha:NcmSFSphericalHarmonicsThe
NcmSFSphericalHarmonics.abstol:gdoubleAbsolute tolerance.
Constructors
ncm_sf_spherical_harmonics_Y_array_new
Creates a new NcmSFSphericalHarmonicsYArray for len angles.
ncm_sf_spherical_harmonics_Y_array_next_m() skips the orders whose $|\bar{Y}_l^m|$ is
below abstol at every angle. Start it with ncm_sf_spherical_harmonics_start_rec_array().
Instance methods
ncm_sf_spherical_harmonics_Y_array_next_l2
Advances the recursion at every angle to $l + 2$, returning the values it passes.
Index Yblm with NCM_SF_SPHERICAL_HARMONICS_ARRAY_INDEX().
ncm_sf_spherical_harmonics_Y_array_next_l2pn
Advances the recursion at every angle to $l + n + 2$, returning the values it passes.
Index Yblm with NCM_SF_SPHERICAL_HARMONICS_ARRAY_INDEX().
ncm_sf_spherical_harmonics_Y_array_next_l4
Advances the recursion at every angle to $l + 4$, returning the values it passes.
Index Yblm with NCM_SF_SPHERICAL_HARMONICS_ARRAY_INDEX().
ncm_sf_spherical_harmonics_Y_array_next_m
Same as ncm_sf_spherical_harmonics_Y_next_m() at every angle. An order is skipped only when $|\bar{Y}_l^{m+1}|$ is below the absolute tolerance at some angle, so the angles advance together until the smallest value reaches it.
ncm_sf_spherical_harmonics_Y_array_reset
Restarts the recursion at $l = m = 0$, keeping the angles set by ncm_sf_spherical_harmonics_start_rec_array().