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:
gdoubleLower edge of the target interval.
b-
Type:
gdoubleUpper edge of the target interval.
coeffs-
Type:
NcmMatrixCoefficients 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.