Virtual Method

NumCosmoMathPowspecget_spline_2d

Declaration [src]

NcmSpline2d*
get_spline_2d (
  NcmPowspec* powspec,
  NcmModel* model
)

Description [src]

Compute a 2D spline for the power spectrum.

Parameters

model

Type: NcmModel

A NcmModel.

The argument can be NULL.
The data is owned by the caller of the method.

Return value

Type: NcmSpline2d

A NcmSpline2d interpolating spline as a function of $(z, k)$.

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