October 02, 2018 [Issue 19283] New: [std.mathspecial] documentation for normal distribution doesn't list parameters | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19283 Issue ID: 19283 Summary: [std.mathspecial] documentation for normal distribution doesn't list parameters Product: D Version: D2 Hardware: All URL: http://dlang.org/phobos/ OS: All Status: NEW Severity: trivial Priority: P3 Component: phobos Assignee: nobody@puremagic.com Reporter: kulhanek.5@wright.edu The documentation for normalDistribution and normalDistributionInverse does not state what mean and standard deviation are used. Presumably mean=0.0 and stdev=1.0; this is consistent with the cumulative distribution equation listed in the normalDistribution docs and the code for the z<1 case in std.internal.math.errorfunction.normalDistributionImpl. Still, it'd probably be a good idea for someone familiar with std.internal.math.errorfunction to double check that before updating the docs; there's some numerical stability code (I think) in there that I was unable to follow. -- |
Copyright © 1999-2021 by the D Language Foundation