Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- integrateOnSphericalSimplex :: ([Double] -> Double) -> SphericalSimplex -> Int -> Double -> Double -> Int -> IO Result
- type SphericalSimplex = [[Double]]
- orthants :: Int -> [SphericalSimplex]
- data Result = Result {
- value :: Double
- errorEstimate :: Double
- evaluations :: Int
- success :: Bool
Documentation
integrateOnSphericalSimplex Source #
:: ([Double] -> Double) | integrand |
-> SphericalSimplex | integration domain |
-> Int | maximum number of evaluations |
-> Double | desired absolute error |
-> Double | desired relative error |
-> Int | integration rule: 1, 2, 3 or 4 |
-> IO Result | integral, error, evaluations, success |
Integral of a real-valued function over a spherical simplex.
type SphericalSimplex = [[Double]] Source #
orthants :: Int -> [SphericalSimplex] Source #