Constructor

NumCosmoHaloDensityProfileNFWnew

Declaration [src]

NcHaloDensityProfileNFW*
nc_halo_density_profile_nfw_new (
  NcHaloMassSummary* hms
)

Description [src]

This function returns the NcHaloDensityProfileNFW implementation of NcHaloDensityProfile given a NcHaloMassSummary.

Parameters

hms

Type: NcHaloMassSummary

A NcHaloMassSummary.

The data is owned by the caller of the function.

Return value

Type: NcHaloDensityProfileNFW

A new instance of NcHaloDensityProfileNFW.

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