summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Differentiation.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Numeric/GSL/Differentiation.hs')
-rw-r--r--lib/Numeric/GSL/Differentiation.hs10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Numeric/GSL/Differentiation.hs b/lib/Numeric/GSL/Differentiation.hs
index d2a332c..93c5007 100644
--- a/lib/Numeric/GSL/Differentiation.hs
+++ b/lib/Numeric/GSL/Differentiation.hs
@@ -55,11 +55,11 @@ foreign import ccall safe "gsl-aux.h deriv"
55 55
56{- | Adaptive central difference algorithm, /gsl_deriv_central/. For example: 56{- | Adaptive central difference algorithm, /gsl_deriv_central/. For example:
57 57
58> > let deriv = derivCentral 0.01 58>>> let deriv = derivCentral 0.01
59> > deriv sin (pi/4) 59>>> deriv sin (pi/4)
60>(0.7071067812000676,1.0600063101654055e-10) 60(0.7071067812000676,1.0600063101654055e-10)
61> > cos (pi/4) 61>>> cos (pi/4)
62>0.7071067811865476 620.7071067811865476
63 63
64-} 64-}
65derivCentral :: Double -- ^ initial step size 65derivCentral :: Double -- ^ initial step size