Method

NumCosmoClusterMassRichnessmu_sigma

Declaration [src]

void
nc_cluster_mass_richness_mu_sigma (
  NcClusterMassRichness* mr,
  gdouble lnM,
  gdouble z,
  gdouble* mu,
  gdouble* sigma
)

Description [src]

Computes both the mean and standard deviation of the log-richness distribution simultaneously. This can be more efficient than calling mu() and sigma() separately when subclasses share intermediate computations.

Parameters

lnM

Type: gdouble

Natural logarithm of the mass.

z

Type: gdouble

Redshift.

mu

Type: gdouble*

Location to store the mean log-richness.

The argument will be set by the function.
sigma

Type: gdouble*

Location to store the standard deviation.

The argument will be set by the function.