Method

NumCosmoDistanceluminosity

Declaration [src]

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

Description [src]

Compute the luminosity distance $D_l(z)$ defined in Eq. $\eqref{eq:def:Dl}$.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: const gdouble

Redshift $z$.

Return value

Type: gdouble

$D_l(z)$.