Method

NumCosmoXcorKernelIntegrandeval_comps

Declaration [src]

void
nc_xcor_kernel_integrand_eval_comps (
  NcXcorKernelIntegrand* integrand,
  gdouble k,
  guint offset,
  guint len,
  gdouble* W
)

Description [src]

Evaluates components [offset, offset + len) at wavenumber k, writing them at their own indices in W. Integrands that can only evaluate every component at once do so, filling the whole of W; either way the entries the caller asked for are valid.

This method is not directly available to language bindings.

Parameters

k

Type: gdouble

Wavenumber.

offset

Type: guint

Index of the first component to evaluate.

len

Type: guint

Number of components to evaluate.

W

Type: An array of gdouble

Full-length array to store results in.

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