X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmath%2FDistribution.hpp;h=6ef9ecea1ab3619633f45b704ba5f453de892289;hb=refs%2Fheads%2Fmaster;hp=7f444f80b6065e703751d1912e9feea33462798e;hpb=8f6530c75730f901efd6708e4fde7e68a178adf1;p=blobs.git diff --git a/src/math/Distribution.hpp b/src/math/Distribution.hpp index 7f444f8..6ef9ece 100644 --- a/src/math/Distribution.hpp +++ b/src/math/Distribution.hpp @@ -16,7 +16,9 @@ public: { } public: + void Mean(double m) noexcept { mean = m; } double Mean() const noexcept { return mean; } + void StandardDeviation(double d) noexcept { stddev = d; } double StandardDeviation() const noexcept { return stddev; } double Variance() const noexcept { return stddev * stddev; }