Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ setSeed
Function
setSeed
src/api/cpp/random.cpp:132–132 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
130
}
131
132
void setSeed(const unsigned long long seed) { AF_THROW(af_set_seed(seed)); }
133
134
unsigned long long getSeed() {
135
unsigned long long seed = 0;
Callers
6
main
Function · 0.85
testSetSeed
Function · 0.85
testGetSeed
Function · 0.85
testRandomEngineNormalChi2
Function · 0.85
SetUp
Method · 0.85
initSamples
Function · 0.85
Calls
1
af_set_seed
Function · 0.50
Tested by
no test coverage detected