integration 0.2 → 0.2.0.1
raw patch · 2 files changed
+7/−9 lines, 2 files
Files
- Numeric/Integration/TanhSinh.hs +4/−6
- integration.cabal +3/−3
Numeric/Integration/TanhSinh.hs view
@@ -9,10 +9,8 @@ -- Stability : provisional -- Portability : portable ----- An implementation of Takahashi and Mori's Tanh-Sinh--- quadrature.------ <http://en.wikipedia.org/wiki/Tanh-sinh_quadrature>+-- An implementation of Takahashi and Mori's+-- <http://en.wikipedia.org/wiki/Tanh-sinh_quadrature Tanh-Sinh quadrature>. -- -- Tanh-Sinh provides good results across a wide-range -- of functions and is pretty much as close to a@@ -35,8 +33,8 @@ -- > ghci> absolute 1e-6 $ trap (recip . sqrt . sin) 0 1 -- > Result {result = 2.03480500404275, errorEstimate = 6.349514558579017e-8, evaluations = 49} ----- See <http://www.johndcook.com/blog/2012/02/21/care-and-treatment-of-singularities/>--- for a sense of how more naive quadrature schemes fare.+-- See John D. Cook's <http://www.johndcook.com/blog/2012/02/21/care-and-treatment-of-singularities/ "Care and Treatment of Singularities">+-- for a sense of how more naïve quadrature schemes fare. ---------------------------------------------------------------------------- module Numeric.Integration.TanhSinh (
integration.cabal view
@@ -1,5 +1,5 @@ name: integration-version: 0.2+version: 0.2.0.1 stability: experimental synopsis: Fast robust numeric integration via tanh-sinh quadrature description: Fast robust numeric integration via tanh-sinh quadrature@@ -14,7 +14,7 @@ extra-source-files: codegen/TableGen.hs -Library+library -- Packages needed in order to build this package. build-depends: base >= 4 && < 5,@@ -22,7 +22,7 @@ exposed-modules: Numeric.Integration.TanhSinh - ghc-options: -O2 -fexcess-precision -threaded -Wall -O2 -fspec-constr -fliberate-case -fstatic-argument-transformation -fspec-constr-count=10+ ghc-options: -O2 -fexcess-precision -Wall -O2 -fspec-constr -fliberate-case -fstatic-argument-transformation -fspec-constr-count=10 source-repository head type: git