Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
class Floating a => Erf a where Source #
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
.
Nothing
:: a | |
-> a |
erfc x = 1 - erf x |
:: a | |
-> a |
erfcx x = exp (x*x) * erfc x |
:: a | |
-> a |
normcdf x = erfc(-x sqrt 2) 2 |