Now have a simple stats test.

This commit is contained in:
Zed A. Shaw 2025-03-17 22:56:18 -04:00
parent d3158291f7
commit 0efb17371b
4 changed files with 37 additions and 10 deletions

View file

@ -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);
}