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: gint

Current order $l$.

l0: gint

Order $l_0$ of the seeds.

m: gint

Current $m$.

len: gint

Number of angles.

x: gdouble

$x_i = \cos\theta_i$.

sqrt1mx2: gdouble

$\sin\theta_i$.

Yl0m: gdouble

Seeds $\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: NcmSFSphericalHarmonicsK

Coefficients of the next step.

spha: NcmSFSphericalHarmonics

The NcmSFSphericalHarmonics.

abstol: gdouble

Absolute 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_dup

Duplicates sphaYa, including the state of its recursion.

ncm_sf_spherical_harmonics_Y_array_get_l
No description available.

ncm_sf_spherical_harmonics_Y_array_get_lm
No description available.

ncm_sf_spherical_harmonics_Y_array_get_m
No description available.

ncm_sf_spherical_harmonics_Y_array_get_x
No description available.

ncm_sf_spherical_harmonics_Y_array_next_l

Advances the recursion at every angle to $l + 1$.

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().