diff options
Diffstat (limited to 'packages/gsl')
-rw-r--r-- | packages/gsl/CHANGELOG | 3 | ||||
-rw-r--r-- | packages/gsl/hmatrix-gsl.cabal | 26 | ||||
-rw-r--r-- | packages/gsl/src/Graphics/Plot.hs | 2 | ||||
-rw-r--r-- | packages/gsl/src/Numeric/GSL/Fitting.hs | 2 | ||||
-rw-r--r-- | packages/gsl/src/Numeric/GSL/Fourier.hs | 2 | ||||
-rw-r--r-- | packages/gsl/src/Numeric/GSL/Integration.hs | 2 | ||||
-rw-r--r-- | packages/gsl/src/Numeric/GSL/Internal.hs | 6 | ||||
-rw-r--r-- | packages/gsl/src/Numeric/GSL/Interpolation.hs | 2 | ||||
-rw-r--r-- | packages/gsl/src/Numeric/GSL/LinearAlgebra.hs | 3 | ||||
-rw-r--r-- | packages/gsl/src/Numeric/GSL/Minimization.hs | 2 | ||||
-rw-r--r-- | packages/gsl/src/Numeric/GSL/ODE.hs | 2 | ||||
-rw-r--r-- | packages/gsl/src/Numeric/GSL/Root.hs | 2 | ||||
-rw-r--r-- | packages/gsl/src/Numeric/GSL/Vector.hs | 3 |
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 @@ | |||
1 | Name: hmatrix-gsl | 1 | Name: hmatrix-gsl |
2 | Version: 0.18.0.1 | 2 | Version: 0.19.0.0 |
3 | License: GPL | ||
4 | License-file: LICENSE | ||
5 | Author: Alberto Ruiz | ||
6 | Maintainer: Alberto Ruiz <aruiz@um.es> | ||
7 | Stability: provisional | ||
8 | Homepage: https://github.com/albertoruiz/hmatrix | ||
9 | Synopsis: Numerical computation | 3 | Synopsis: Numerical computation |
10 | Description: Purely functional interface to selected numerical computations, | 4 | Description: Purely functional interface to selected numerical computations, |
11 | internally implemented using GSL. | 5 | internally implemented using GSL. |
12 | 6 | Homepage: https://github.com/albertoruiz/hmatrix | |
7 | license: GPL-3 | ||
8 | license-file: LICENSE | ||
9 | Author: Alberto Ruiz | ||
10 | Maintainer: Alberto Ruiz <aruiz@um.es> | ||
11 | Stability: provisional | ||
13 | Category: Math | 12 | Category: Math |
14 | tested-with: GHC ==7.8 | ||
15 | |||
16 | cabal-version: >=1.8 | ||
17 | |||
18 | build-type: Simple | 13 | build-type: Simple |
14 | cabal-version: >=1.18 | ||
15 | |||
19 | 16 | ||
20 | extra-source-files: src/Numeric/GSL/gsl-ode.c | 17 | extra-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 | ||
102 | source-repository head | 98 | source-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 | {- | |
5 | Module : Numeric.GSL.Fitting | 7 | Module : Numeric.GSL.Fitting |
6 | Copyright : (c) Alberto Ruiz 2010 | 8 | Copyright : (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 | {- | |
4 | Module : Numeric.GSL.Fourier | 6 | Module : Numeric.GSL.Fourier |
5 | Copyright : (c) Alberto Ruiz 2006 | 7 | Copyright : (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 | {- | |
2 | Module : Numeric.GSL.Integration | 4 | Module : Numeric.GSL.Integration |
3 | Copyright : (c) Alberto Ruiz 2006 | 5 | Copyright : (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) | |||
128 | ww2 w1 o1 w2 o2 f = w1 o1 $ \a1 -> w2 o2 $ \a2 -> f a1 a2 | 131 | ww2 w1 o1 w2 o2 f = w1 o1 $ \a1 -> w2 o2 $ \a2 -> f a1 a2 |
129 | 132 | ||
130 | vec x f = unsafeWith x $ \p -> do | 133 | vec 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 | {- | |
4 | Module : Numeric.GSL.Interpolation | 6 | Module : Numeric.GSL.Interpolation |
5 | Copyright : (c) Matthew Peddie 2015 | 7 | Copyright : (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 | {- | |
5 | Module : Numeric.GSL.ODE | 7 | Module : 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 | {- | |
4 | Module : Numeric.GSL.Root | 6 | Module : Numeric.GSL.Root |
5 | Copyright : (c) Alberto Ruiz 2009 | 7 | Copyright : (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 |