Method

NumCosmoDistanceDH_r

Declaration [src]

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

Description [src]

Computes the ratio between the Hubble (distance) radius and the sound horizon at the drag epoch, $$\frac{R_H}{r_s(z_d)} = \frac{c}{H(z) r_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

$R_H/r_d = c / (H(z) r_d)$.