diff options
author | Alberto Ruiz <aruiz@um.es> | 2014-04-30 16:10:20 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2014-04-30 16:10:20 +0200 |
commit | cf1379fed234cf99b2ccce6d9311bfc5c58ef4a3 (patch) | |
tree | 2532837500eb98af048404e33018fa88d8a7f535 /lib/Numeric/GSL/Differentiation.hs | |
parent | b8b7b47450a1007d4d8c77bb7d04e2744c3bfcd4 (diff) |
improved documentation
Diffstat (limited to 'lib/Numeric/GSL/Differentiation.hs')
-rw-r--r-- | lib/Numeric/GSL/Differentiation.hs | 10 |
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 | 62 | 0.7071067811865476 |
63 | 63 | ||
64 | -} | 64 | -} |
65 | derivCentral :: Double -- ^ initial step size | 65 | derivCentral :: Double -- ^ initial step size |