| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Math.BesselJ
Documentation
data BesselResult Source #
Data type to store the result of a computation of the Bessel 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).
Constructors
| BesselResult | |
Instances
| Show BesselResult Source # | |
Defined in Math.BesselJ Methods showsPrec :: Int -> BesselResult -> ShowS # show :: BesselResult -> String # showList :: [BesselResult] -> ShowS # | |
Arguments
| :: Complex Double | order, integer or complex number with real part > -0.5 |
| -> 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 BesselResult | result |
Bessel-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.