diff options
-rw-r--r-- | HSSL.cabal | 60 | ||||
-rw-r--r-- | examples/tests.hs | 2 | ||||
-rw-r--r-- | lib/LinearAlgebra/Algorithms.hs | 2 | ||||
-rw-r--r-- | lib/LinearAlgebra/LAPACK.hs (renamed from lib/LAPACK.hs) | 4 | ||||
-rw-r--r-- | lib/LinearAlgebra/LAPACK/clapack.h (renamed from lib/LAPACK/clapack.h) | 0 | ||||
-rw-r--r-- | lib/LinearAlgebra/LAPACK/f2c.h (renamed from lib/LAPACK/f2c.h) | 0 | ||||
-rw-r--r-- | lib/LinearAlgebra/LAPACK/lapack-aux.c (renamed from lib/LAPACK/lapack-aux.c) | 0 | ||||
-rw-r--r-- | lib/LinearAlgebra/LAPACK/lapack-aux.h (renamed from lib/LAPACK/lapack-aux.h) | 0 |
8 files changed, 39 insertions, 29 deletions
@@ -3,13 +3,13 @@ Version: 0.1 | |||
3 | License: GPL | 3 | License: GPL |
4 | License-file: LICENSE | 4 | License-file: LICENSE |
5 | Author: Alberto Ruiz | 5 | Author: Alberto Ruiz |
6 | Maintainer: aruiz@um.es | 6 | Maintainer: Alberto Ruiz <aruiz@um.es> |
7 | Stability: provisional | 7 | Stability: provisional |
8 | --Homepage: http://dis.um.es/~alberto/GSLHaskell | 8 | Homepage: http://dis.um.es/~alberto/GSLHaskell |
9 | Package-url: | ||
10 | Synopsis: Simple Scientific Library | 9 | Synopsis: Simple Scientific Library |
11 | Description: | 10 | Description: A high level functional interface to some linear algebra computations |
12 | Category: Numerical | 11 | and other numerical routines, internally implemented using GSL, BLAS and LAPACK. |
12 | Category: Numerical, Math | ||
13 | tested-with: GHC ==6.6.1 | 13 | tested-with: GHC ==6.6.1 |
14 | Build-Depends: base, haskell98 | 14 | Build-Depends: base, haskell98 |
15 | Extensions: ForeignFunctionInterface | 15 | Extensions: ForeignFunctionInterface |
@@ -30,34 +30,44 @@ Exposed-modules: Data.Packed.Internal, | |||
30 | GSL.Fourier, | 30 | GSL.Fourier, |
31 | GSL.Polynomials, | 31 | GSL.Polynomials, |
32 | GSL.Minimization, | 32 | GSL.Minimization, |
33 | GSL.Special, GSL.Special.Internal, | 33 | GSL.Special, |
34 | GSL.Special.Gamma, GSL.Special.Erf, | 34 | GSL.Special.Internal, |
35 | GSL.Special.Airy, GSL.Special.Exp, | 35 | GSL.Special.Gamma, |
36 | GSL.Special.Bessel, GSL.Special.Clausen, | 36 | GSL.Special.Erf, |
37 | GSL.Special.Coulomb, GSL.Special.Coupling, | 37 | GSL.Special.Airy, |
38 | GSL.Special.Dawson, GSL.Special.Debye, | 38 | GSL.Special.Exp, |
39 | GSL.Special.Dilog, GSL.Special.Elementary, | 39 | GSL.Special.Bessel, |
40 | GSL.Special.Clausen, | ||
41 | GSL.Special.Coulomb, | ||
42 | GSL.Special.Coupling, | ||
43 | GSL.Special.Dawson, | ||
44 | GSL.Special.Debye, | ||
45 | GSL.Special.Dilog, | ||
46 | GSL.Special.Elementary, | ||
40 | GSL.Special.Ellint, | 47 | GSL.Special.Ellint, |
41 | GSL.Special.Expint, GSL.Special.Fermi_dirac, | 48 | GSL.Special.Expint, |
42 | GSL.Special.Gegenbauer, GSL.Special.Hyperg, | 49 | GSL.Special.Fermi_dirac, |
43 | GSL.Special.Laguerre, GSL.Special.Lambert, | 50 | GSL.Special.Gegenbauer, |
44 | GSL.Special.Pow_int, GSL.Special.Psi, | 51 | GSL.Special.Hyperg, |
45 | GSL.Special.Synchrotron, GSL.Special.Trig, | 52 | GSL.Special.Laguerre, |
46 | GSL.Special.Zeta, GSL.Special.Log, | 53 | GSL.Special.Lambert, |
54 | GSL.Special.Pow_int, | ||
55 | GSL.Special.Psi, | ||
56 | GSL.Special.Synchrotron, | ||
57 | GSL.Special.Trig, | ||
58 | GSL.Special.Zeta, | ||
59 | GSL.Special.Log, | ||
47 | GSL.Special.Legendre, | 60 | GSL.Special.Legendre, |
48 | GSL, | 61 | GSL, |
49 | LAPACK, | ||
50 | LinearAlgebra, | 62 | LinearAlgebra, |
63 | LinearAlgebra.LAPACK, | ||
51 | LinearAlgebra.Linear, | 64 | LinearAlgebra.Linear, |
52 | LinearAlgebra.Instances, | 65 | LinearAlgebra.Instances, |
53 | LinearAlgebra.Interface, | 66 | LinearAlgebra.Interface, |
54 | LinearAlgebra.Algorithms | 67 | LinearAlgebra.Algorithms, |
55 | -- , LinearAlgebra.Tests | 68 | Graphics.Plot |
56 | , Graphics.Plot | ||
57 | -- , GSLHaskell | ||
58 | Other-modules: | ||
59 | C-sources: lib/Data/Packed/Internal/aux.c, | 69 | C-sources: lib/Data/Packed/Internal/aux.c, |
60 | lib/LAPACK/lapack-aux.c, | 70 | lib/LinearAlgebra/LAPACK/lapack-aux.c, |
61 | lib/GSL/gsl-aux.c | 71 | lib/GSL/gsl-aux.c |
62 | extra-libraries: gsl cblas lapack | 72 | extra-libraries: gsl cblas lapack |
63 | cc-options: -O4 | 73 | cc-options: -O4 |
diff --git a/examples/tests.hs b/examples/tests.hs index 80070fd..e66774b 100644 --- a/examples/tests.hs +++ b/examples/tests.hs | |||
@@ -6,7 +6,7 @@ import Data.Packed.Internal((>|<), fdat, cdat, multiply', multiplyG, MatrixOrder | |||
6 | import GSL hiding (sin,cos,exp,choose) | 6 | import GSL hiding (sin,cos,exp,choose) |
7 | import LinearAlgebra | 7 | import LinearAlgebra |
8 | import LinearAlgebra.Linear(Linear) | 8 | import LinearAlgebra.Linear(Linear) |
9 | import LAPACK | 9 | import LinearAlgebra.LAPACK |
10 | import GSL.Matrix | 10 | import GSL.Matrix |
11 | import Test.QuickCheck hiding (test) | 11 | import Test.QuickCheck hiding (test) |
12 | import Test.HUnit hiding ((~:),test) | 12 | import Test.HUnit hiding ((~:),test) |
diff --git a/lib/LinearAlgebra/Algorithms.hs b/lib/LinearAlgebra/Algorithms.hs index 007067f..481dbd6 100644 --- a/lib/LinearAlgebra/Algorithms.hs +++ b/lib/LinearAlgebra/Algorithms.hs | |||
@@ -46,7 +46,7 @@ import Data.Packed.Internal hiding (fromComplex, toComplex, comp, conj) | |||
46 | import Data.Packed | 46 | import Data.Packed |
47 | import GSL.Matrix(luR,luC,qr) | 47 | import GSL.Matrix(luR,luC,qr) |
48 | import GSL.Vector | 48 | import GSL.Vector |
49 | import LAPACK | 49 | import LinearAlgebra.LAPACK as LAPACK |
50 | import Complex | 50 | import Complex |
51 | import LinearAlgebra.Linear | 51 | import LinearAlgebra.Linear |
52 | 52 | ||
diff --git a/lib/LAPACK.hs b/lib/LinearAlgebra/LAPACK.hs index 43a313b..2861061 100644 --- a/lib/LAPACK.hs +++ b/lib/LinearAlgebra/LAPACK.hs | |||
@@ -1,7 +1,7 @@ | |||
1 | {-# OPTIONS_GHC -fglasgow-exts #-} | 1 | {-# OPTIONS_GHC -fglasgow-exts #-} |
2 | ----------------------------------------------------------------------------- | 2 | ----------------------------------------------------------------------------- |
3 | -- | | 3 | -- | |
4 | -- Module : LAPACK | 4 | -- Module : LinearAlgebra.LAPACK |
5 | -- Copyright : (c) Alberto Ruiz 2006-7 | 5 | -- Copyright : (c) Alberto Ruiz 2006-7 |
6 | -- License : GPL-style | 6 | -- License : GPL-style |
7 | -- | 7 | -- |
@@ -13,7 +13,7 @@ | |||
13 | -- | 13 | -- |
14 | ----------------------------------------------------------------------------- | 14 | ----------------------------------------------------------------------------- |
15 | 15 | ||
16 | module LAPACK ( | 16 | module LinearAlgebra.LAPACK ( |
17 | svdR, svdRdd, svdC, | 17 | svdR, svdRdd, svdC, |
18 | eigC, eigR, eigS, eigH, | 18 | eigC, eigR, eigS, eigH, |
19 | linearSolveR, linearSolveC, | 19 | linearSolveR, linearSolveC, |
diff --git a/lib/LAPACK/clapack.h b/lib/LinearAlgebra/LAPACK/clapack.h index cad9a4c..cad9a4c 100644 --- a/lib/LAPACK/clapack.h +++ b/lib/LinearAlgebra/LAPACK/clapack.h | |||
diff --git a/lib/LAPACK/f2c.h b/lib/LinearAlgebra/LAPACK/f2c.h index b94ee7c..b94ee7c 100644 --- a/lib/LAPACK/f2c.h +++ b/lib/LinearAlgebra/LAPACK/f2c.h | |||
diff --git a/lib/LAPACK/lapack-aux.c b/lib/LinearAlgebra/LAPACK/lapack-aux.c index 4ef9a6e..4ef9a6e 100644 --- a/lib/LAPACK/lapack-aux.c +++ b/lib/LinearAlgebra/LAPACK/lapack-aux.c | |||
diff --git a/lib/LAPACK/lapack-aux.h b/lib/LinearAlgebra/LAPACK/lapack-aux.h index ea71847..ea71847 100644 --- a/lib/LAPACK/lapack-aux.h +++ b/lib/LinearAlgebra/LAPACK/lapack-aux.h | |||