Function
NumCosmoMathRNGpool_get
Declaration [src]
NcmRNG*
ncm_rng_pool_get (
const gchar* name
)
Description [src]
Gets the NcmRNG named name from the pool.
If it doesn’t exists, it creates one, add it to the pool and returns it.
Parameters
name-
Type:
const gchar*A string.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: NcmRNG
The NcmRNG named name.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |