diff options
Diffstat (limited to 'lib/GSL/Minimization.hs')
-rw-r--r-- | lib/GSL/Minimization.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/GSL/Minimization.hs b/lib/GSL/Minimization.hs index 32b266f..a59977e 100644 --- a/lib/GSL/Minimization.hs +++ b/lib/GSL/Minimization.hs | |||
@@ -97,7 +97,7 @@ minimizeNMSimplex f xi sz tol maxit = unsafePerformIO $ do | |||
97 | 97 | ||
98 | foreign import ccall "gsl-aux.h minimize" | 98 | foreign import ccall "gsl-aux.h minimize" |
99 | c_minimizeNMSimplex:: FunPtr (Int -> Ptr Double -> Double) -> Double -> Int | 99 | c_minimizeNMSimplex:: FunPtr (Int -> Ptr Double -> Double) -> Double -> Int |
100 | -> TVVM -- Double :> Double :> Double ::> IO Int | 100 | -> TVVM |
101 | 101 | ||
102 | ---------------------------------------------------------------------------------- | 102 | ---------------------------------------------------------------------------------- |
103 | 103 | ||
@@ -165,7 +165,7 @@ foreign import ccall "gsl-aux.h minimizeWithDeriv" | |||
165 | c_minimizeConjugateGradient :: FunPtr (Int -> Ptr Double -> Double) | 165 | c_minimizeConjugateGradient :: FunPtr (Int -> Ptr Double -> Double) |
166 | -> FunPtr (Int -> Ptr Double -> Ptr Double -> IO ()) | 166 | -> FunPtr (Int -> Ptr Double -> Ptr Double -> IO ()) |
167 | -> Double -> Double -> Double -> Int | 167 | -> Double -> Double -> Double -> Int |
168 | -> TVM -- Double :> Double ::> IO Int | 168 | -> TVM |
169 | 169 | ||
170 | --------------------------------------------------------------------- | 170 | --------------------------------------------------------------------- |
171 | iv :: (Vector Double -> Double) -> (Int -> Ptr Double -> Double) | 171 | iv :: (Vector Double -> Double) -> (Int -> Ptr Double -> Double) |