Method

NumCosmoDistancecomoving_z1_z2

Declaration [src]

gdouble
nc_distance_comoving_z1_z2 (
  NcDistance* dist,
  NcHICosmo* cosmo,
  const gdouble z1,
  const gdouble z2
)

Description [src]

Compute the comoving distance between $z_1$ and $z_2$, $D_c (z_1, z_2)$.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: const gdouble

Redshift $z_1$.

z2

Type: const gdouble

Redshift $z_2$.

Return value

Type: gdouble

$D_c(z_1, z_2)$.