Method

NumCosmoMathRNGcheck_seed

Declaration [src]

gboolean
ncm_rng_check_seed (
  NcmRNG* rng,
  gulong seed
)

Description [src]

Check if the seed was already used by any NcmRNG.

Parameters

seed

Type: gulong

Seed for the PRNG.

Return value

Type: gboolean

TRUE if seed was never used and FALSE otherwise.