Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data AngerResult Source #
Data type to store the result of a computation of the Anger J-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 AngerResult Source # | |
Defined in Math.AngerJ showsPrec :: Int -> AngerResult -> ShowS # show :: AngerResult -> String # showList :: [AngerResult] -> 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 AngerResult | result |
Anger-J 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.