summaryrefslogtreecommitdiff
path: root/packages/hmatrix/src/Numeric/GSL/Differentiation.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2014-05-08 13:43:07 +0200
committerAlberto Ruiz <aruiz@um.es>2014-05-08 13:43:07 +0200
commit551cf7498c33bc0948bb4cb8444ae6f8af7278ea (patch)
treeec86ff73151746f5e13b83549ea5c60ed442764d /packages/hmatrix/src/Numeric/GSL/Differentiation.hs
parent561a6c0e21bb77c21114ccbbd86d3af5ddb5a3f1 (diff)
separation ok
Diffstat (limited to 'packages/hmatrix/src/Numeric/GSL/Differentiation.hs')
-rw-r--r--packages/hmatrix/src/Numeric/GSL/Differentiation.hs12
1 files changed, 5 insertions, 7 deletions
diff --git a/packages/hmatrix/src/Numeric/GSL/Differentiation.hs b/packages/hmatrix/src/Numeric/GSL/Differentiation.hs
index 93c5007..0fb58ef 100644
--- a/packages/hmatrix/src/Numeric/GSL/Differentiation.hs
+++ b/packages/hmatrix/src/Numeric/GSL/Differentiation.hs
@@ -1,13 +1,10 @@
1{-# OPTIONS #-}
2-----------------------------------------------------------------------------
3{- | 1{- |
4Module : Numeric.GSL.Differentiation 2Module : Numeric.GSL.Differentiation
5Copyright : (c) Alberto Ruiz 2006 3Copyright : (c) Alberto Ruiz 2006
6License : GPL-style 4License : GPL
7 5
8Maintainer : Alberto Ruiz (aruiz at um dot es) 6Maintainer : Alberto Ruiz
9Stability : provisional 7Stability : provisional
10Portability : uses ffi
11 8
12Numerical differentiation. 9Numerical differentiation.
13 10
@@ -15,7 +12,8 @@ Numerical differentiation.
15 12
16From the GSL manual: \"The functions described in this chapter compute numerical derivatives by finite differencing. An adaptive algorithm is used to find the best choice of finite difference and to estimate the error in the derivative.\" 13From the GSL manual: \"The functions described in this chapter compute numerical derivatives by finite differencing. An adaptive algorithm is used to find the best choice of finite difference and to estimate the error in the derivative.\"
17-} 14-}
18----------------------------------------------------------------------------- 15
16
19module Numeric.GSL.Differentiation ( 17module Numeric.GSL.Differentiation (
20 derivCentral, 18 derivCentral,
21 derivForward, 19 derivForward,
@@ -26,7 +24,7 @@ import Foreign.C.Types
26import Foreign.Marshal.Alloc(malloc, free) 24import Foreign.Marshal.Alloc(malloc, free)
27import Foreign.Ptr(Ptr, FunPtr, freeHaskellFunPtr) 25import Foreign.Ptr(Ptr, FunPtr, freeHaskellFunPtr)
28import Foreign.Storable(peek) 26import Foreign.Storable(peek)
29import Data.Packed.Internal(check,(//)) 27import Numeric.GSL.Internal
30import System.IO.Unsafe(unsafePerformIO) 28import System.IO.Unsafe(unsafePerformIO)
31 29
32derivGen :: 30derivGen ::