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

Function getSeed

src/api/cpp/random.cpp:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132void setSeed(const unsigned long long seed) { AF_THROW(af_set_seed(seed)); }
133
134unsigned long long getSeed() {
135 unsigned long long seed = 0;
136 AF_THROW(af_get_seed(&seed));
137 return seed;
138}
139
140} // namespace af

Callers 2

testSetSeedFunction · 0.85
testGetSeedFunction · 0.85

Calls 1

af_get_seedFunction · 0.50

Tested by

no test coverage detected