summaryrefslogtreecommitdiff
path: root/packages/gsl
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gsl')
-rw-r--r--packages/gsl/CHANGELOG3
-rw-r--r--packages/gsl/hmatrix-gsl.cabal26
-rw-r--r--packages/gsl/src/Graphics/Plot.hs2
-rw-r--r--packages/gsl/src/Numeric/GSL/Fitting.hs2
-rw-r--r--packages/gsl/src/Numeric/GSL/Fourier.hs2
-rw-r--r--packages/gsl/src/Numeric/GSL/Integration.hs2
-rw-r--r--packages/gsl/src/Numeric/GSL/Internal.hs6
-rw-r--r--packages/gsl/src/Numeric/GSL/Interpolation.hs2
-rw-r--r--packages/gsl/src/Numeric/GSL/LinearAlgebra.hs3
-rw-r--r--packages/gsl/src/Numeric/GSL/Minimization.hs2
-rw-r--r--packages/gsl/src/Numeric/GSL/ODE.hs2
-rw-r--r--packages/gsl/src/Numeric/GSL/Root.hs2
-rw-r--r--packages/gsl/src/Numeric/GSL/Vector.hs3
13 files changed, 38 insertions, 19 deletions
diff --git a/packages/gsl/CHANGELOG b/packages/gsl/CHANGELOG
index 091dc0e..a2fe038 100644
--- a/packages/gsl/CHANGELOG
+++ b/packages/gsl/CHANGELOG
@@ -2,7 +2,7 @@
2-------- 2--------
3 3
4 * Added interpolation modules 4 * Added interpolation modules
5 5
6 * Added simulated annealing module 6 * Added simulated annealing module
7 7
8 * Added odeSolveVWith 8 * Added odeSolveVWith
@@ -11,4 +11,3 @@
11-------- 11--------
12 12
13 * The modules Numeric.GSL.* have been moved from hmatrix to the new package hmatrix-gsl. 13 * The modules Numeric.GSL.* have been moved from hmatrix to the new package hmatrix-gsl.
14
diff --git a/packages/gsl/hmatrix-gsl.cabal b/packages/gsl/hmatrix-gsl.cabal
index d463ee8..76db835 100644
--- a/packages/gsl/hmatrix-gsl.cabal
+++ b/packages/gsl/hmatrix-gsl.cabal
@@ -1,21 +1,18 @@
1Name: hmatrix-gsl 1Name: hmatrix-gsl
2Version: 0.18.0.1 2Version: 0.19.0.0
3License: GPL
4License-file: LICENSE
5Author: Alberto Ruiz
6Maintainer: Alberto Ruiz <aruiz@um.es>
7Stability: provisional
8Homepage: https://github.com/albertoruiz/hmatrix
9Synopsis: Numerical computation 3Synopsis: Numerical computation
10Description: Purely functional interface to selected numerical computations, 4Description: Purely functional interface to selected numerical computations,
11 internally implemented using GSL. 5 internally implemented using GSL.
12 6Homepage: https://github.com/albertoruiz/hmatrix
7license: GPL-3
8license-file: LICENSE
9Author: Alberto Ruiz
10Maintainer: Alberto Ruiz <aruiz@um.es>
11Stability: provisional
13Category: Math 12Category: Math
14tested-with: GHC ==7.8
15
16cabal-version: >=1.8
17
18build-type: Simple 13build-type: Simple
14cabal-version: >=1.18
15
19 16
20extra-source-files: src/Numeric/GSL/gsl-ode.c 17extra-source-files: src/Numeric/GSL/gsl-ode.c
21 18
@@ -33,9 +30,6 @@ library
33 Build-Depends: base<5, hmatrix>=0.18, array, vector, 30 Build-Depends: base<5, hmatrix>=0.18, array, vector,
34 process, random 31 process, random
35 32
36
37 Extensions: ForeignFunctionInterface
38
39 hs-source-dirs: src 33 hs-source-dirs: src
40 Exposed-modules: Numeric.GSL.Differentiation, 34 Exposed-modules: Numeric.GSL.Differentiation,
41 Numeric.GSL.Integration, 35 Numeric.GSL.Integration,
@@ -98,6 +92,8 @@ library
98 else 92 else
99 pkgconfig-depends: gsl 93 pkgconfig-depends: gsl
100 94
95 default-language: Haskell2010
96
101 97
102source-repository head 98source-repository head
103 type: git 99 type: git
diff --git a/packages/gsl/src/Graphics/Plot.hs b/packages/gsl/src/Graphics/Plot.hs
index d2ea192..e422912 100644
--- a/packages/gsl/src/Graphics/Plot.hs
+++ b/packages/gsl/src/Graphics/Plot.hs
@@ -1,3 +1,5 @@
1{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
2
1----------------------------------------------------------------------------- 3-----------------------------------------------------------------------------
2-- | 4-- |
3-- Module : Graphics.Plot 5-- Module : Graphics.Plot
diff --git a/packages/gsl/src/Numeric/GSL/Fitting.hs b/packages/gsl/src/Numeric/GSL/Fitting.hs
index 8f2eae3..a732c25 100644
--- a/packages/gsl/src/Numeric/GSL/Fitting.hs
+++ b/packages/gsl/src/Numeric/GSL/Fitting.hs
@@ -1,6 +1,8 @@
1{-# LANGUAGE CPP #-} 1{-# LANGUAGE CPP #-}
2{-# LANGUAGE FlexibleContexts #-} 2{-# LANGUAGE FlexibleContexts #-}
3 3
4{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
5
4{- | 6{- |
5Module : Numeric.GSL.Fitting 7Module : Numeric.GSL.Fitting
6Copyright : (c) Alberto Ruiz 2010 8Copyright : (c) Alberto Ruiz 2010
diff --git a/packages/gsl/src/Numeric/GSL/Fourier.hs b/packages/gsl/src/Numeric/GSL/Fourier.hs
index bffab87..ed7353a 100644
--- a/packages/gsl/src/Numeric/GSL/Fourier.hs
+++ b/packages/gsl/src/Numeric/GSL/Fourier.hs
@@ -1,5 +1,7 @@
1{-# LANGUAGE TypeFamilies #-} 1{-# LANGUAGE TypeFamilies #-}
2 2
3{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
4
3{- | 5{- |
4Module : Numeric.GSL.Fourier 6Module : Numeric.GSL.Fourier
5Copyright : (c) Alberto Ruiz 2006 7Copyright : (c) Alberto Ruiz 2006
diff --git a/packages/gsl/src/Numeric/GSL/Integration.hs b/packages/gsl/src/Numeric/GSL/Integration.hs
index 9c1d43a..0a1b4c6 100644
--- a/packages/gsl/src/Numeric/GSL/Integration.hs
+++ b/packages/gsl/src/Numeric/GSL/Integration.hs
@@ -1,3 +1,5 @@
1{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
2
1{- | 3{- |
2Module : Numeric.GSL.Integration 4Module : Numeric.GSL.Integration
3Copyright : (c) Alberto Ruiz 2006 5Copyright : (c) Alberto Ruiz 2006
diff --git a/packages/gsl/src/Numeric/GSL/Internal.hs b/packages/gsl/src/Numeric/GSL/Internal.hs
index f70e167..e1f8d95 100644
--- a/packages/gsl/src/Numeric/GSL/Internal.hs
+++ b/packages/gsl/src/Numeric/GSL/Internal.hs
@@ -1,5 +1,8 @@
1{-# LANGUAGE FlexibleContexts #-} 1{-# LANGUAGE FlexibleContexts #-}
2 2
3{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
4{-# OPTIONS_GHC -fno-warn-unused-top-binds #-}
5
3-- | 6-- |
4-- Module : Numeric.GSL.Internal 7-- Module : Numeric.GSL.Internal
5-- Copyright : (c) Alberto Ruiz 2009 8-- Copyright : (c) Alberto Ruiz 2009
@@ -128,8 +131,7 @@ type TVM = TV (TM Res)
128ww2 w1 o1 w2 o2 f = w1 o1 $ \a1 -> w2 o2 $ \a2 -> f a1 a2 131ww2 w1 o1 w2 o2 f = w1 o1 $ \a1 -> w2 o2 $ \a2 -> f a1 a2
129 132
130vec x f = unsafeWith x $ \p -> do 133vec x f = unsafeWith x $ \p -> do
131 let v g = do 134 let v g = g (fi $ V.length x) p
132 g (fi $ V.length x) p
133 f v 135 f v
134{-# INLINE vec #-} 136{-# INLINE vec #-}
135 137
diff --git a/packages/gsl/src/Numeric/GSL/Interpolation.hs b/packages/gsl/src/Numeric/GSL/Interpolation.hs
index 6f02405..484d2a2 100644
--- a/packages/gsl/src/Numeric/GSL/Interpolation.hs
+++ b/packages/gsl/src/Numeric/GSL/Interpolation.hs
@@ -1,5 +1,7 @@
1{-# LANGUAGE MagicHash, UnboxedTuples #-} 1{-# LANGUAGE MagicHash, UnboxedTuples #-}
2 2
3{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
4
3{- | 5{- |
4Module : Numeric.GSL.Interpolation 6Module : Numeric.GSL.Interpolation
5Copyright : (c) Matthew Peddie 2015 7Copyright : (c) Matthew Peddie 2015
diff --git a/packages/gsl/src/Numeric/GSL/LinearAlgebra.hs b/packages/gsl/src/Numeric/GSL/LinearAlgebra.hs
index 1bf357b..aee64f7 100644
--- a/packages/gsl/src/Numeric/GSL/LinearAlgebra.hs
+++ b/packages/gsl/src/Numeric/GSL/LinearAlgebra.hs
@@ -1,3 +1,6 @@
1{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
2{-# OPTIONS_GHC -fno-warn-unused-top-binds #-}
3
1----------------------------------------------------------------------------- 4-----------------------------------------------------------------------------
2-- | 5-- |
3-- Module : Numeric.GSL.LinearAlgebra 6-- Module : Numeric.GSL.LinearAlgebra
diff --git a/packages/gsl/src/Numeric/GSL/Minimization.hs b/packages/gsl/src/Numeric/GSL/Minimization.hs
index a0e5306..1fd951b 100644
--- a/packages/gsl/src/Numeric/GSL/Minimization.hs
+++ b/packages/gsl/src/Numeric/GSL/Minimization.hs
@@ -1,3 +1,5 @@
1{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
2
1{-# LANGUAGE FlexibleContexts #-} 3{-# LANGUAGE FlexibleContexts #-}
2 4
3 5
diff --git a/packages/gsl/src/Numeric/GSL/ODE.hs b/packages/gsl/src/Numeric/GSL/ODE.hs
index 987d47e..a1ccd38 100644
--- a/packages/gsl/src/Numeric/GSL/ODE.hs
+++ b/packages/gsl/src/Numeric/GSL/ODE.hs
@@ -1,5 +1,7 @@
1{-# LANGUAGE FlexibleContexts #-} 1{-# LANGUAGE FlexibleContexts #-}
2 2
3{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
4{-# OPTIONS_GHC -fno-warn-unused-top-binds #-}
3 5
4{- | 6{- |
5Module : Numeric.GSL.ODE 7Module : Numeric.GSL.ODE
diff --git a/packages/gsl/src/Numeric/GSL/Root.hs b/packages/gsl/src/Numeric/GSL/Root.hs
index 724f32f..9cdb061 100644
--- a/packages/gsl/src/Numeric/GSL/Root.hs
+++ b/packages/gsl/src/Numeric/GSL/Root.hs
@@ -1,5 +1,7 @@
1{-# LANGUAGE FlexibleContexts #-} 1{-# LANGUAGE FlexibleContexts #-}
2 2
3{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
4
3{- | 5{- |
4Module : Numeric.GSL.Root 6Module : Numeric.GSL.Root
5Copyright : (c) Alberto Ruiz 2009 7Copyright : (c) Alberto Ruiz 2009
diff --git a/packages/gsl/src/Numeric/GSL/Vector.hs b/packages/gsl/src/Numeric/GSL/Vector.hs
index b1c0106..2ca7cc0 100644
--- a/packages/gsl/src/Numeric/GSL/Vector.hs
+++ b/packages/gsl/src/Numeric/GSL/Vector.hs
@@ -1,3 +1,6 @@
1{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
2{-# OPTIONS_GHC -fno-warn-unused-top-binds #-}
3
1----------------------------------------------------------------------------- 4-----------------------------------------------------------------------------
2-- | 5-- |
3-- Module : Numeric.GSL.Vector 6-- Module : Numeric.GSL.Vector