Method

NumCosmoDistancecomoving_volume_element

Declaration [src]

gdouble
nc_distance_comoving_volume_element (
  NcDistance* dist,
  NcHICosmo* cosmo,
  gdouble z
)

Description [src]

This function computes the comoving volume element per unit solid angle $d\Omega$ given z, namely, $$\frac{\mathrm{d}^2V}{\mathrm{d}z\mathrm{d}\Omega} = \frac{D_t^2(z)}{E(z)} = \frac{(1 + z)^2 D_a^2(z)}{E(z)},$$ where $E(z)$ is the normalized Hubble function and $D_t$ is the transverse comoving distance (and $D_a$ is the angular diameter distance).

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: gdouble

Redshift $z$.

Return value

Type: gdouble

Comoving volume element $\frac{\mathrm{d}^2V}{\mathrm{d}z\mathrm{d}\Omega}$.