diff options
author | Alberto Ruiz <aruiz@um.es> | 2007-07-30 09:02:57 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2007-07-30 09:02:57 +0000 |
commit | 0c38c1b0e122a56ea98c494e60ba90afe2688664 (patch) | |
tree | 5623779a630694c04525b0c38314d6aa9b511e4f /README | |
parent | b9db4d25d87cd4ab0f493413db92fb41b7eacda9 (diff) |
links to documentation for special functions
Diffstat (limited to 'README')
-rw-r--r-- | README | 54 |
1 files changed, 53 insertions, 1 deletions
@@ -1 +1,53 @@ | |||
1 | 1 | REQUIREMENTS | |
2 | |||
3 | 1) GNU Scientific Library (http://www.gnu.org/software/gsl) development packages | ||
4 | for your system (typically "gsl" and "gsl-devel"). | ||
5 | |||
6 | 2) ATLAS BLAS AND LAPACK (http://www.netlib.org/lapack). Usually included with GNU-Octave. | ||
7 | |||
8 | INSTALLATION | ||
9 | |||
10 | (More detailed information is included in the "tutorial", | ||
11 | available in the web page of the project.) | ||
12 | |||
13 | $ runhaskell Setup.hs configure --prefix=$HOME | ||
14 | $ runhaskell Setup.hs build | ||
15 | $ runhaskell Setup.hs haddock | ||
16 | $ runhaskell Setup.hs install --user | ||
17 | |||
18 | USING ATLAS | ||
19 | |||
20 | $ ln -s /usr/lib/atlas/libblas.so.3.0 $HOME/lib/HSSL-0.1/ghc-6.6.1/libcblas.so | ||
21 | $ ln -s /usr/lib/atlas/liblapack.so.3.0 $HOME/lib/HSSL-0.1/ghc-6.6.1/liblapack.so | ||
22 | |||
23 | TESTS | ||
24 | |||
25 | $ runhaskell examples/tests.hs | ||
26 | |||
27 | EXAMPLES | ||
28 | |||
29 | $ ghci | ||
30 | Prelude> :m + GSL | ||
31 | Prelude GSL> let quad = integrateQNG 1E-10 | ||
32 | Prelude GSL> quad (^2) 0 1 | ||
33 | (0.3333333333333333,3.700743415417188e-15) | ||
34 | Prelude GSL> :q | ||
35 | Leaving GHCi. | ||
36 | |||
37 | -------------------------------------------------------------------------------------- | ||
38 | ACKNOWLEDGEMENTS | ||
39 | |||
40 | I thank Henning Thielemann and all the people in the Haskell mailing lists for their help. | ||
41 | |||
42 | - Nico Mahlo discovered a bug in the eigendecomposition wrapper. | ||
43 | |||
44 | - Frederik Eaton discovered a bug in the design of the wrappers. | ||
45 | |||
46 | - Eric Kidd has created a wiki page explaining the installation on MacOS X: | ||
47 | http://www.haskell.org/haskellwiki/GSLHaskell_on_MacOS_X | ||
48 | |||
49 | - Fawzi Mohamed discovered a portability bug in the lapack wrappers. | ||
50 | |||
51 | - Pedro E. López de Teruel fixed the interface to lapack. | ||
52 | |||
53 | - Antti Siira discovered a bug in the plotting functions. | ||