Method

NumCosmoMathMSetCatalogget_rng

Declaration [src]

NcmRNG*
ncm_mset_catalog_get_rng (
  NcmMSetCatalog* mcat
)

Description [src]

This function checks if any pseudo random number generator (RNG) is registered in the catalog. If so, it returns it or NULL.

Return value

Type: NcmRNG

The registered NcmRNG in the catalog or NULL.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.