Method

NumCosmoDistancedmodulus_vector

Declaration [src]

void
nc_distance_dmodulus_vector (
  NcDistance* dist,
  NcHICosmo* cosmo,
  NcmVector* z,
  NcmVector* dmod
)

Description [src]

Compute the angular diameter distance $D_A(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.
dmod

Type: NcmVector

A NcmVector to store the distance modulus distances.

The data is owned by the caller of the method.