Sets the random type of the random engine. More...

Functions

AFAPI af_err af_random_engine_set_type (af_random_engine *engine, const af_random_engine_type rtype)
 C Interface for changing random engine type. More...
 

Detailed Description

Sets the random type of the random engine.

Parameters
[in]typeThe type of the random number generator

Function Documentation

§ af_random_engine_set_type()

AFAPI af_err af_random_engine_set_type ( af_random_engine engine,
const af_random_engine_type  rtype 
)

C Interface for changing random engine type.

Parameters
[in]engineThe random engine object
[in]rtypeThe type of the random number generator
Returns
AF_SUCCESS if the execution completes properly