-
-
Notifications
You must be signed in to change notification settings - Fork 483
Closed
Labels
F-new-intFunctionality: new, within RandFunctionality: new, within Rand
Description
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).
Metadata
Metadata
Assignees
Labels
F-new-intFunctionality: new, within RandFunctionality: new, within Rand