MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / ~randomEngine

Method ~randomEngine

src/api/cpp/random.cpp:30–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28randomEngine::randomEngine(af_random_engine engine) : engine(engine) {}
29
30randomEngine::~randomEngine() {
31 if (engine) { af_release_random_engine(engine); }
32}
33
34randomEngine &randomEngine::operator=(const randomEngine &other) {
35 if (this != &other) {

Callers

nothing calls this directly

Calls 1

af_release_random_engineFunction · 0.50

Tested by

no test coverage detected