haskell / math-functions

Special mathematical functions
http://hackage.haskell.org/package/math-functions
BSD 2-Clause "Simplified" License
40 stars 28 forks source link

Documentation of incompleteBeta is not correct. #62

Closed naohaq closed 4 years ago

naohaq commented 4 years ago

https://github.com/bos/math-functions/blob/aa53a8d67e58e1e0bfd623425d55b2a5e62bceb5/Numeric/SpecFunctions/Internal.hs#L585 The integrand should be t^{a-1}(1-t)^{b-1} .

Shimuuar commented 4 years ago

Thanks! Fix uploaded as part of 0.3.4.0