Negative standard deviation
Currently Normal::new checks that std_dev is not negative. I see no need to keep this check (GSL lacks it), though it should be pointed out that effectively the standard deviation will be std_dev.abs().
The only drawback is that calculations erroneously producing a negative value would no longer be detected, though I doubt this often happens (and non-negative erroneous values would still not be detected).
Negative standard deviation
Currently
Normal::newchecks thatstd_devis not negative. I see no need to keep this check (GSL lacks it), though it should be pointed out that effectively the standard deviation will bestd_dev.abs().The only drawback is that calculations erroneously producing a negative value would no longer be detected, though I doubt this often happens (and non-negative erroneous values would still not be detected).