summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/glpk/hmatrix-glpk.cabal2
-rw-r--r--packages/gsl/hmatrix-gsl.cabal24
-rw-r--r--packages/gsl/src/Numeric/GSL/Internal.hs3
-rw-r--r--packages/sparse/hmatrix-sparse.cabal2
-rw-r--r--packages/special/hmatrix-special.cabal2
-rw-r--r--packages/sundials/hmatrix-sundials.cabal8
6 files changed, 19 insertions, 22 deletions
diff --git a/packages/glpk/hmatrix-glpk.cabal b/packages/glpk/hmatrix-glpk.cabal
index b01f704..ca93775 100644
--- a/packages/glpk/hmatrix-glpk.cabal
+++ b/packages/glpk/hmatrix-glpk.cabal
@@ -1,6 +1,6 @@
1Name: hmatrix-glpk 1Name: hmatrix-glpk
2Version: 0.19.0.0 2Version: 0.19.0.0
3License: GPL 3License: GPL-3
4License-file: LICENSE 4License-file: LICENSE
5Author: Alberto Ruiz 5Author: Alberto Ruiz
6Maintainer: Alberto Ruiz <aruiz@um.es> 6Maintainer: Alberto Ruiz <aruiz@um.es>
diff --git a/packages/gsl/hmatrix-gsl.cabal b/packages/gsl/hmatrix-gsl.cabal
index 6ec7960..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.19.0.0 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/Numeric/GSL/Internal.hs b/packages/gsl/src/Numeric/GSL/Internal.hs
index 1217162..e1f8d95 100644
--- a/packages/gsl/src/Numeric/GSL/Internal.hs
+++ b/packages/gsl/src/Numeric/GSL/Internal.hs
@@ -131,8 +131,7 @@ type TVM = TV (TM Res)
131ww2 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
132 132
133vec x f = unsafeWith x $ \p -> do 133vec x f = unsafeWith x $ \p -> do
134 let v g = do 134 let v g = g (fi $ V.length x) p
135 g (fi $ V.length x) p
136 f v 135 f v
137{-# INLINE vec #-} 136{-# INLINE vec #-}
138 137
diff --git a/packages/sparse/hmatrix-sparse.cabal b/packages/sparse/hmatrix-sparse.cabal
index c3b6f65..4399b72 100644
--- a/packages/sparse/hmatrix-sparse.cabal
+++ b/packages/sparse/hmatrix-sparse.cabal
@@ -19,7 +19,7 @@ build-type: Simple
19 19
20 20
21library 21library
22 Build-Depends: base, hmatrix>=0.16 22 Build-Depends: base<5, hmatrix>=0.16
23 23
24 hs-source-dirs: src 24 hs-source-dirs: src
25 25
diff --git a/packages/special/hmatrix-special.cabal b/packages/special/hmatrix-special.cabal
index cf504e1..0890bc7 100644
--- a/packages/special/hmatrix-special.cabal
+++ b/packages/special/hmatrix-special.cabal
@@ -1,6 +1,6 @@
1Name: hmatrix-special 1Name: hmatrix-special
2Version: 0.19.0.0 2Version: 0.19.0.0
3License: GPL 3License: GPL-3
4License-file: LICENSE 4License-file: LICENSE
5Author: Alberto Ruiz 5Author: Alberto Ruiz
6Maintainer: Alberto Ruiz <aruiz@um.es> 6Maintainer: Alberto Ruiz <aruiz@um.es>
diff --git a/packages/sundials/hmatrix-sundials.cabal b/packages/sundials/hmatrix-sundials.cabal
index 354f142..388f1db 100644
--- a/packages/sundials/hmatrix-sundials.cabal
+++ b/packages/sundials/hmatrix-sundials.cabal
@@ -1,7 +1,10 @@
1name: hmatrix-sundials 1name: hmatrix-sundials
2version: 0.19.0.0 2version: 0.19.0.0
3synopsis: hmatrix interface to sundials 3synopsis: hmatrix interface to sundials
4description: Foo bar baz 4description: An interface to the solving suite SUNDIALS. Currently, it
5 mimics the solving interface in hmstrix-gsl but
6 provides more diagnostic information and the
7 Butcher Tableaux (for Runge-Kutta methods).
5homepage: https://github.com/idontgetoutmuch/hmatrix/tree/sundials 8homepage: https://github.com/idontgetoutmuch/hmatrix/tree/sundials
6license: BSD3 9license: BSD3
7license-file: LICENSE 10license-file: LICENSE
@@ -12,7 +15,7 @@ category: Math
12build-type: Simple 15build-type: Simple
13extra-source-files: ChangeLog.md, README.md, diagrams/*.png 16extra-source-files: ChangeLog.md, README.md, diagrams/*.png
14extra-doc-files: diagrams/*.png 17extra-doc-files: diagrams/*.png
15cabal-version: >=1.10 18cabal-version: >=1.18
16 19
17 20
18library 21library
@@ -49,7 +52,6 @@ test-suite hmatrix-sundials-testsuite
49 lens, 52 lens,
50 hspec 53 hspec
51 hs-source-dirs: src 54 hs-source-dirs: src
52 default-language: Haskell2010
53 extra-libraries: sundials_arkode 55 extra-libraries: sundials_arkode
54 c-sources: src/helpers.c src/helpers.h 56 c-sources: src/helpers.c src/helpers.h
55 default-language: Haskell2010 57 default-language: Haskell2010