Constructor

NumCosmoHaloDensityProfileEinastonew

Declaration [src]

NcHaloDensityProfileEinasto*
nc_halo_density_profile_einasto_new (
  NcHaloMassSummary* hms
)

Description [src]

This function returns the NcHaloDensityProfileEinasto implementation of NcHaloDensityProfile given NcHaloMassSummary.

Parameters

hms

Type: NcHaloMassSummary

A NcHaloMassSummary.

The data is owned by the caller of the function.

Return value

Type: NcHaloDensityProfileEinasto

A new instance of NcHaloDensityProfileEinasto.

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