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

Method randomEngine

src/api/cpp/random.cpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16namespace af {
17randomEngine::randomEngine(randomEngineType type, unsigned long long seed)
18 : engine(0) {
19 AF_THROW(af_create_random_engine(&engine, type, seed));
20}
21
22randomEngine::randomEngine(const randomEngine &other) : engine(0) {
23 if (this != &other) {

Callers

nothing calls this directly

Calls 3

af_create_random_engineFunction · 0.50
af_retain_random_engineFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected