Method

NumCosmoMathRNGget_state

Declaration [src]

gchar*
ncm_rng_get_state (
  NcmRNG* rng
)

Description [src]

Gets the state of the algorithm in Base64. It can be a very large string depending on the underlining state.

Gets propertyNumCosmoMath.RNG:state

Return value

Type: gchar*

Algorithm state.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.