Returns the default random engine object. More...
Functions | |
AFAPI randomEngine | getDefaultRandomEngine (void) |
C++ Interface to get the default random engine type. More... | |
AFAPI af_err | af_get_default_random_engine (af_random_engine *engine) |
C Interface to get the default random engine. More... | |
Returns the default random engine object.
Returns the af::randomEngine that is currently set as default.
Note that there is no need to call af_release_random_engine on the handle returned by af_get_default_random_engine.
AFAPI af_err af_get_default_random_engine | ( | af_random_engine * | engine | ) |
C Interface to get the default random engine.
[out] | engine | pointer to the returned default random engine object |
AFAPI randomEngine getDefaultRandomEngine | ( | void | ) |
C++ Interface to get the default random engine type.