Method

NumCosmoClusterMassRichnesscompute_truncated_mean

Declaration [src]

gdouble
nc_cluster_mass_richness_compute_truncated_mean (
  NcClusterMassRichness* mr,
  gdouble lnR_mean,
  gdouble lnR_sigma
)

Description [src]

Computes the mean of the truncated log-richness distribution given the untruncated mean and standard deviation. The distribution is truncated at the cut threshold.

Parameters

lnR_mean

Type: gdouble

Mean of the untruncated log-richness distribution.

lnR_sigma

Type: gdouble

Standard deviation of the untruncated log-richness distribution.

Return value

Type: gdouble

The mean of the truncated distribution.