Sets the seed of the random engine. More...

Functions

AFAPI af_err af_random_engine_set_seed (af_random_engine *engine, const uintl seed)
 C Interface for setting the seed of a random engine. More...
 

Detailed Description

Sets the seed of the random engine.

Parameters
[in]seedThe initializing seed of the random number generator

Function Documentation

§ af_random_engine_set_seed()

AFAPI af_err af_random_engine_set_seed ( af_random_engine engine,
const uintl  seed 
)

C Interface for setting the seed of a random engine.

Parameters
[out]engineThe pointer to the returned random engine object
[in]seedThe initializing seed of the random number generator
Returns
AF_SUCCESS if the execution completes properly