Method

NumCosmoHICosmozt

Declaration [src]

gdouble
nc_hicosmo_zt (
  NcHICosmo* cosmo,
  const gdouble z_max
)

Description [src]

Computes the deceleration-acceleration transition redshift, $z_t$ (find numerically the first root of $q(z)$ in the interval $[0,z_\mathrm{max}]$). If $z_t$ is not found, i.e., $q(z) \neq 0$ in the entire redshift interval, the function returns NAN.

Redshift interval: $[0.0, z_max]$.

Parameters

z_max

Type: const gdouble

Maximum redshift $z_\mathrm{max}$.

Return value

Type: gdouble

The transition redshift $z_t$ or NAN if not found.