Method

NumCosmoHaloDensityProfilerho_s

Declaration [src]

gdouble
nc_halo_density_profile_rho_s (
  NcHaloDensityProfile* dp,
  NcHICosmo* cosmo,
  const gdouble z
)

Description [src]

This function computes the $\rho_s$ parameter as described in Eqs. \eqref{def:rho_s} and \eqref{def:rho_s0}.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

The data is owned by the caller of the method.
z

Type: const gdouble

Redshift $z$.

Return value

Type: gdouble

The value of $\rho_s(z)\left[M_\odot\times\mathrm{Mpc}^{-3}\right]$.