Method

NumCosmoXcorKernelIntegrandrestrict

Declaration [src]

gboolean
nc_xcor_kernel_integrand_restrict (
  NcXcorKernelIntegrand* integrand,
  gdouble a,
  gdouble b,
  NcmMatrix** coeffs
)

Description [src]

Produces integrand‘s coefficients on [a, b], which has to lie inside a single panel.

This is what lets a pair of spectral closures be integrated on the common refinement of their panel edges: on each merged panel both are polynomials over the same interval, so the product is exact and needs no quadrature. Restricting is a change of basis rather than a refit, so it costs arithmetic at panel order rather than fresh radial solves.

Parameters

a

Type: gdouble

Lower edge of the target interval.

b

Type: gdouble

Upper edge of the target interval.

coeffs

Type: NcmMatrix

Coefficients on [a, b], one row per component.

The argument will be set by the function.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.

Return value

Type: gboolean

TRUE when integrand could produce them.