Method

NumCosmoHaloDensityProfileeval_cyl_mass_array

Declaration [src]

GArray*
nc_halo_density_profile_eval_cyl_mass_array (
  NcHaloDensityProfile* dp,
  NcHICosmo* cosmo,
  GArray* R,
  gdouble fin,
  gdouble fout,
  const gdouble z
)

Description [src]

This function computes the total mass enclose in the cylinder of radius $R$, see Eq. \eqref{}.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: An array of double

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

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

Type: gdouble

Input array factor.

fout

Type: gdouble

Output array factor.

z

Type: const gdouble

Redshift $z$.

Return value

Type: An array of double

The value of $\overline{\Sigma}(R)\left[M_\odot\right]$.

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