Constructor
NumCosmoPowspecMLSplinenew
Declaration [src]
NcPowspecMLSpline*
nc_powspec_ml_spline_new (
NcmSpline* Pk
)
Description [src]
Creates a new NcPowspecMLSpline from a spline Pk of the power spectrum, $P(k,
z=z_0)$ at a given redshift $z_0$.
Parameters
Pk-
Type:
NcmSplineA
NcmSpline.The data is owned by the caller of the function.
Return value
Type: NcPowspecMLSpline
The newly created NcPowspecMLSpline.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |