Method

NumCosmoClusterAbundanceprepare_inv_dNdlnM_z

Declaration [src]

void
nc_cluster_abundance_prepare_inv_dNdlnM_z (
  NcClusterAbundance* cad,
  NcHICosmo* cosmo,
  const gdouble lnMi,
  gdouble z
)

Description [src]

This function prepares a spline where the x array corresponds to the value of $\int_{\ln M_0} ^{\ln M_1} d^2N/dzd\ln M dM/ \int_lnMi^lnMf dN/dz dM$ given a redshift $z$ and the y array contains the values of logarithms base e of the mass. It is used to generate a sample of $\ln M$ values.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

The data is owned by the caller of the method.
lnMi

Type: const gdouble

Logarithm base e of the minimum mass $\ln(M_i)$.

z

Type: gdouble

Redshift $z$.