Method

NumCosmoDistanceluminosity_vector

Declaration [src]

void
nc_distance_luminosity_vector (
  NcDistance* dist,
  NcHICosmo* cosmo,
  NcmVector* z,
  NcmVector* Dl
)

Description [src]

Compute the luminosity distance $D_t(z)$ for each redshift in z.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: NcmVector

A NcmVector of redshifts.

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

Type: NcmVector

A NcmVector to store the luminosity distances.

The data is owned by the caller of the method.