[Issue 19283] New: [std.mathspecial] documentation for normal distribution doesn't list parameters
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Oct  2 19:43:12 UTC 2018
    
    
  
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 at puremagic.com
          Reporter: kulhanek.5 at 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.
--
    
    
More information about the Digitalmars-d-bugs
mailing list