Constructor
NumCosmoHaloMassFunctionnew
Declaration [src]
NcHaloMassFunction*
nc_halo_mass_function_new (
NcDistance* dist,
NcmPowspecFilter* psf,
NcMultiplicityFunc* mulf
)
Description [src]
This function allocates memory for a new NcHaloMassFunction object and sets its properties to the values from
the input arguments.
Parameters
dist-
Type:
NcDistanceA
NcDistancesets toNcHaloMassFunction:distance.The data is owned by the caller of the function. psf-
Type:
NcmPowspecFilterA
NcmPowspecFiltersets toNcHaloMassFunction:powerspectrum-filtered.The data is owned by the caller of the function. mulf-
Type:
NcMultiplicityFuncA
NcMultiplicityFuncsets toNcHaloMassFunction:multiplicity.The data is owned by the caller of the function.
Return value
Type: NcHaloMassFunction
A new NcHaloMassFunction.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |