]> git.localhorst.tv Git - blobs.git/blobdiff - src/math/Distribution.hpp
introduce random genetic mutations
[blobs.git] / src / math / Distribution.hpp
index 7f444f80b6065e703751d1912e9feea33462798e..6ef9ecea1ab3619633f45b704ba5f453de892289 100644 (file)
@@ -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; }