planet-mitchell-0.1.0: Planet Mitchell
Num.Erf
class Floating a => Erf a where #
Error function related functions.
The derivative of erf is x -> 2 / sqrt pi * exp (x^2), and this uniquely determines erf by erf 0 = 0.
erf
x -> 2 / sqrt pi * exp (x^2)
erf 0 = 0
Minimal complete definition is erfc or normcdf.
erfc
normcdf
Methods
erf :: a -> a #
erfc #
Arguments
erfc x = 1 - erf x
erfcx #
erfcx x = exp (x*x) * erfc x
normcdf #
normcdf x = erfc(-x sqrt 2) 2
Defined in Data.Number.Erf
erf :: Double -> Double #
erfc :: Double -> Double #
erfcx :: Double -> Double #
normcdf :: Double -> Double #
erf :: Float -> Float #
erfc :: Float -> Float #
erfcx :: Float -> Float #
normcdf :: Float -> Float #