Method

NumCosmoDistancelookback_time

Declaration [src]

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

Description [src]

This functions computes the look-back time, $t_{lb}(z)$, defined as

\begin{equation} t_{lb}(z) = \int_0^{z} \frac{dx}{(1+x)E(x)}. \end{equation}.

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

$t_{lb}(z)$.