Function

NumCosmoMathSFSphericalHarmonicsYArraynew

Declaration [src]

NcmSFSphericalHarmonicsYArray*
ncm_sf_spherical_harmonics_Y_array_new (
  NcmSFSphericalHarmonics* spha,
  const gint len,
  const gdouble abstol
)

Description [src]

Creates a new NcmSFSphericalHarmonicsYArray object. This object is used to contain the results of the computation of the spherical harmonics for an array of angles $\theta_i$ with length len.

Parameters

spha

Type: NcmSFSphericalHarmonics

A NcmSFSphericalHarmonics.

The data is owned by the caller of the function.
len

Type: const gint

Array length.

abstol

Type: const gdouble

Absolute tolerance.

Return value

Type: NcmSFSphericalHarmonicsYArray

A new NcmSFSphericalHarmonicsYArray.

The caller of the function takes ownership of the data, and is responsible for freeing it.