Method

NumCosmoGalaxySDTrueRedshiftgen

Declaration [src]

gdouble
nc_galaxy_sd_true_redshift_gen (
  NcGalaxySDTrueRedshift* gsdtr,
  NcmRNG* rng
)

Description [src]

Generates a redshift value from the galaxy sample redshift distribution.

Parameters

rng

Type: NcmRNG

A NcmRNG.

The data is owned by the caller of the method.

Return value

Type: gdouble

The generated redshift.