Method

NumCosmoXcorKernelIntegrandpeek_spectral

Declaration [src]

gboolean
nc_xcor_kernel_integrand_peek_spectral (
  NcXcorKernelIntegrand* integrand,
  NcmMatrix** coeffs,
  gdouble* k_min,
  gdouble* k_max
)

Description [src]

Peeks integrand‘s Chebyshev expansion, when it has one.

A pair of integrands that both report one, over the same interval, can have their outer integral evaluated on the coefficients rather than by quadrature: a product of Chebyshev series is a Chebyshev series, and its integral is a fixed weighted sum of the coefficients.

Parameters

coeffs

Type: NcmMatrix

The coefficient matrix, one row per component.

The argument will be set by the function.
The returned data is owned by the instance.
k_min

Type: gdouble*

Lower end of the expansion interval.

The argument will be set by the function.
k_max

Type: gdouble*

Upper end of the expansion interval.

The argument will be set by the function.

Return value

Type: gboolean

TRUE when integrand carries an expansion.