Method

NumCosmoDistancedmodulus

Declaration [src]

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

Description [src]

Compute the distance modulus $\delta\mu(z)$ defined in Eq. $\eqref{eq:def:dmu}$.

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

$\delta\mu(z)$.