Method

NumCosmoDistancecomoving_z_to_infinity

Declaration [src]

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

Description [src]

Computes the comoving distance from z to infinity.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: const gdouble

Redshift.

Return value

Type: gdouble

$D_c$ from $z$ to $\infty$.