Method

NumCosmoHaloDensityProfiler_s_rho_s

Declaration [src]

void
nc_halo_density_profile_r_s_rho_s (
  NcHaloDensityProfile* dp,
  NcHICosmo* cosmo,
  const gdouble z,
  gdouble* r_s,
  gdouble* rho_s
)

Description [src]

This function computes $r_s$ and $\rho_s$ parameters as described in Eqs. \eqref{def:r_s}, \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$.

r_s

Type: gdouble*

$r_s\;\left[\mathrm{Mpc}\right]$.

The argument will be set by the function.
rho_s

Type: gdouble*

$\rho_s\;\left[M_\odot\times\mathrm{Mpc}^{-3}\right]$.

The argument will be set by the function.