Method
NumCosmoDistancecosmic_time
Declaration [src]
gdouble
nc_distance_cosmic_time (
NcDistance* dist,
NcHICosmo* cosmo,
const gdouble z
)
Description [src]
This function computes the cosmological time, $t(z)$, defined as \begin{equation} t(z) = \int_z^{\infty} \frac{dx}{(1+x)E(x)}. \end{equation}.
Parameters
cosmo-
Type:
NcHICosmoA
NcHICosmo.The data is owned by the caller of the method. z-
Type:
const gdoubleRedshift $z$.