Method

NumCosmoXcorKernelget_eval_vectorized

Declaration [src]

NcXcorKernelIntegrand*
nc_xcor_kernel_get_eval_vectorized (
  NcXcorKernel* xclk,
  NcHICosmo* cosmo,
  gint lmin,
  gint lmax
)

Description [src]

Gets a vectorized evaluation function for the kernel over a range of multipoles. The returned integrand will have len = lmax - lmin + 1, and will evaluate all multipoles in the range [lmin, lmax] simultaneously.

Uses the base class implementation which checks the l-limber property: - If lmin >= l_limber (or l_limber == 0), uses component-based Limber approximation - If l_limber < 0, use the non-Limber method - Otherwise falls back to single-l get_eval for lmin.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

The data is owned by the caller of the method.
lmin

Type: gint

Minimum multipole.

lmax

Type: gint

Maximum multipole.

Return value

Type: NcXcorKernelIntegrand

The vectorized evaluation function for the kernel.

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