Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanoComp/meep
/ uniform_random
Function
uniform_random
src/random.cpp:52–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
}
51
52
double uniform_random(double a, double b) {
53
init_rand();
54
return a + meep_mt_genrand_res53() * (b - a);
55
}
56
57
double gaussian_random(double mean, double stddev) {
58
init_rand();
Callers
1
get_eigenmode
Method · 0.85
Calls
2
init_rand
Function · 0.85
meep_mt_genrand_res53
Function · 0.85
Tested by
no test coverage detected