Virtual Method
NumCosmoClusterMassresample
Declaration [src]
gboolean
resample (
NcClusterMass* clusterm,
NcHICosmo* cosmo,
const gdouble lnM,
const gdouble z,
gdouble* lnM_obs,
const gdouble* lnM_obs_params,
NcmRNG* rng
)
Description [src]
Generates a random sample of the observed mass proxies given the true mass and redshift.
Parameters
cosmo-
Type:
NcHICosmoA
NcHICosmo.The data is owned by the caller of the method. lnM-
Type:
const gdoubleLogarithm base e of the true mass.
z-
Type:
const gdoubleTrue redshift.
lnM_obs-
Type: An array of
doubleLogarithm base e of the observed mass.
The data is owned by the caller of the method. lnM_obs_params-
Type: An array of
doubleObserved mass params.
The data is owned by the caller of the method. rng-
Type:
NcmRNGA
NcmRNG.The data is owned by the caller of the method.