Method

NumCosmoDistanceDA_r

Declaration [src]

gdouble
nc_distance_DA_r (
  NcDistance* dist,
  NcHICosmo* cosmo,
  const gdouble z
)

Description [src]

Computes the ratio between the angular-diameter distance and the sound horizon at the drag epoch, $$\frac{D_A(z)}{c \, r_s(z_d)}.$$.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: const gdouble

The redshift $z$.

Return value

Type: gdouble

$D_A(z) / (c \, r_d)$.