summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README47
1 files changed, 46 insertions, 1 deletions
diff --git a/README b/README
index 00188ce..cd54fcd 100644
--- a/README
+++ b/README
@@ -46,7 +46,29 @@ Prelude Numeric.LinearAlgebra> u <> d <> trans v
46Prelude Numeric.GSL> :q 46Prelude Numeric.GSL> :q
47Leaving GHCi. 47Leaving GHCi.
48 48
49-------------------------------------------------------------------------------------- 49CHANGES
50
51This is a new version of GSLHaskell. The package is (provisionally)
52called \C{hssl} (a simple scientific library for Haskell) because only
53a small part of GSL is available and linear algebra is based on LAPACK.
54
55The code has been extensively refactored. There is a new internal representation
56which admits both C and Fortran matrices and avoids many transposes.
57
58There are only minor API changes:
59
60- the matrix product operator \C{(<>)} is now overloaded only for matrix-matrix,
61matrix-vector and vector-matrix, with the same base type. The dot product and the scaling
62of vectors or matrices is now denoted by `dot` and `scale`. Conversions from real to
63complex objects must be explicit.
64
65- Most linear algebra functions admit both real and complex objects. Utilities such as
66ident or constant are now polymorphic.
67
68- Runtime errors produced by GSL or LAPACK can be handled using \C{Control.Exeception.catch}.
69
70Old GSLHaskell code will work with small modifications.
71
50ACKNOWLEDGEMENTS 72ACKNOWLEDGEMENTS
51 73
52I thank Henning Thielemann and all the people in the Haskell mailing lists for their help. 74I thank Henning Thielemann and all the people in the Haskell mailing lists for their help.
@@ -63,3 +85,26 @@ I thank Henning Thielemann and all the people in the Haskell mailing lists for t
63- Pedro E. López de Teruel fixed the interface to lapack. 85- Pedro E. López de Teruel fixed the interface to lapack.
64 86
65- Antti Siira discovered a bug in the plotting functions. 87- Antti Siira discovered a bug in the plotting functions.
88
89INSTALLATION ON WINDOWS
90
911) Download the developer files gsl-1.8-lib.zip from
92 http://gnuwin32.sourceforge.net/packages/gsl.htm
93 and copy the gsl folder (under include) to the include folder of ghc:
94 C:\ghc\ghc.6.6.1\include
95
962) Install the package as usual from the command line in the hssl-0.1 folder:
97 runhaskell Setup.lhs configure
98 runhaskell Setup.lhs build
99 runhaskell Setup.lhs install
100
1013) Copy libgsl.dll, libcblas.dll (from the binaries package gsl-1.8.bin.zip)
102 and liblapack.dll (borrowed from the R system) to the folder where
103 hssl has been installed: C:\haskell\hss-0.1\ghc-6.6.1. They are needed to compile programs.
104 These three dlls are also available from http://perception.inf.um.es/darcs/HSSL/dll1.zip
105
1064) Copy the dlls at http://perception.inf.um.es/darcs/HSSL/dll2.zip to C:\windows\system
107 They are required to run the programs and ghci.
108
109Unfortunately the lapack dll supplied by the R system does not include zgels_ and zgelss_,
110so the functions depending on them will produced a "non supported" runtime error.