Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data WeberResult Source #
Data type to store the result of a computation of the Weber E-function.
The fields are _result
for the value, _errors
for the error estimates
of the integrals used for the computation, and _codes
for the convergence
codes of these integrals (0 for success).
Instances
Show WeberResult Source # | |
Defined in Math.WeberE showsPrec :: Int -> WeberResult -> ShowS # show :: WeberResult -> String # showList :: [WeberResult] -> ShowS # |
:: Complex Double | order, complex number |
-> Complex Double | the variable, a complex number |
-> Double | target relative accuracy for the integrals, e.g. 1e-5 |
-> Int | number of subdivisions for the integrals, e.g. 5000 |
-> IO WeberResult | result |
Weber-E function. It is computed with two integrals. The field _errors
in the result provides the error estimates of the integrals. The field
_codes
provides the codes indicating success (0) or failure of each integral.