Returns the seed for random number generation. More...

Functions

AFAPI unsigned long long getSeed ()
 Gets the seed of the default random number generator. More...
 
AFAPI af_err af_get_seed (unsigned long long *seed)
 

Detailed Description

Returns the seed for random number generation.

Returns the seed for the current default random engine.

Function Documentation

◆ af_get_seed()

AFAPI af_err af_get_seed ( unsigned long long *  seed)
Parameters
[out]seedA 64 bit unsigned integer

◆ getSeed()

AFAPI unsigned long long af::getSeed ( )

Gets the seed of the default random number generator.

Returns
seed A 64 bit unsigned integer