Now have a simple stats test.
This commit is contained in:
parent
d3158291f7
commit
0efb17371b
4 changed files with 37 additions and 10 deletions
4
rand.hpp
4
rand.hpp
|
@ -20,8 +20,8 @@ namespace Random {
|
|||
}
|
||||
|
||||
template<typename T>
|
||||
T normal(T from, T to) {
|
||||
std::normal_distribution<T> rand(from, to);
|
||||
T normal(T mean, T stddev) {
|
||||
std::normal_distribution<T> rand(mean, stddev);
|
||||
|
||||
return rand(GENERATOR);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue