| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Numerical.Integration
Synopsis
- integration :: (CDouble -> CDouble) -> Double -> Double -> Double -> Double -> Int -> IO IntegralResult
- data IntegralResult = IntegralResult {}
Documentation
Arguments
| :: (CDouble -> CDouble) | integrand |
| -> Double | lower bound |
| -> Double | upper bound |
| -> Double | desired absolute error |
| -> Double | desired relative error |
| -> Int | number of subdivisions |
| -> IO IntegralResult | value, error estimate, error code |
Numerical integration.
data IntegralResult Source #
Instances
| Show IntegralResult Source # | |
Defined in Numerical.Integration Methods showsPrec :: Int -> IntegralResult -> ShowS # show :: IntegralResult -> String # showList :: [IntegralResult] -> ShowS # | |