Method

NumCosmoHaloDensityProfileeval_2d_density_array

Declaration [src]

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

Description [src]

This function computes 2D projection of the density profile at radius $R$ and redshift $z$, 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 $\Sigma(R)\left[M_\odot\times\mathrm{Mpc}^{-2}\right]$.

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