summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HSSL.cabal60
-rw-r--r--examples/tests.hs2
-rw-r--r--lib/LinearAlgebra/Algorithms.hs2
-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
diff --git a/HSSL.cabal b/HSSL.cabal
index a3f4697..aac2155 100644
--- a/HSSL.cabal
+++ b/HSSL.cabal
@@ -3,13 +3,13 @@ Version: 0.1
3License: GPL 3License: GPL
4License-file: LICENSE 4License-file: LICENSE
5Author: Alberto Ruiz 5Author: Alberto Ruiz
6Maintainer: aruiz@um.es 6Maintainer: Alberto Ruiz <aruiz@um.es>
7Stability: provisional 7Stability: provisional
8--Homepage: http://dis.um.es/~alberto/GSLHaskell 8Homepage: http://dis.um.es/~alberto/GSLHaskell
9Package-url:
10Synopsis: Simple Scientific Library 9Synopsis: Simple Scientific Library
11Description: 10Description: A high level functional interface to some linear algebra computations
12Category: Numerical 11 and other numerical routines, internally implemented using GSL, BLAS and LAPACK.
12Category: Numerical, Math
13tested-with: GHC ==6.6.1 13tested-with: GHC ==6.6.1
14Build-Depends: base, haskell98 14Build-Depends: base, haskell98
15Extensions: ForeignFunctionInterface 15Extensions: 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
58Other-modules:
59C-sources: lib/Data/Packed/Internal/aux.c, 69C-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
62extra-libraries: gsl cblas lapack 72extra-libraries: gsl cblas lapack
63cc-options: -O4 73cc-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
6import GSL hiding (sin,cos,exp,choose) 6import GSL hiding (sin,cos,exp,choose)
7import LinearAlgebra 7import LinearAlgebra
8import LinearAlgebra.Linear(Linear) 8import LinearAlgebra.Linear(Linear)
9import LAPACK 9import LinearAlgebra.LAPACK
10import GSL.Matrix 10import GSL.Matrix
11import Test.QuickCheck hiding (test) 11import Test.QuickCheck hiding (test)
12import Test.HUnit hiding ((~:),test) 12import 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)
46import Data.Packed 46import Data.Packed
47import GSL.Matrix(luR,luC,qr) 47import GSL.Matrix(luR,luC,qr)
48import GSL.Vector 48import GSL.Vector
49import LAPACK 49import LinearAlgebra.LAPACK as LAPACK
50import Complex 50import Complex
51import LinearAlgebra.Linear 51import 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
16module LAPACK ( 16module 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