Constructor

NumCosmoXcornew

Declaration [src]

NcXcor*
nc_xcor_new (
  NcDistance* dist,
  NcmPowspec* ps,
  NcXcorMethod meth
)

Description [src]

Two methods are available to compute integrals: independent GSL numerical integration or vector integration using Sundials’s CVode algorithm.

Parameters

dist

Type: NcDistance

A NcDistance.

The data is owned by the caller of the function.
ps

Type: NcmPowspec

A NcmPowspec.

The data is owned by the caller of the function.
meth

Type: NcXcorMethod

A NcXcorMethod to compute the integrals.

Return value

Type: NcXcor

A NcXcor.

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