packages feed

hmatrix-0.9.3.0: INSTALL

INSTALLATION

Recommended method (tested on Ubuntu/Debian systems):
    $ sudo apt-get install libgsl0-dev liblapack-dev
    $ cabal install hmatrix

Detailed installation instructions:
    http://code.haskell.org/hmatrix/install.html

INSTALLATION ON WINDOWS

1) Install the Haskell Platform (tested on 2009.2.0.2).

2) Download and unzip the following file into a stable folder %GSL%

   http://code.haskell.org/hmatrix/gsl-lapack-windows.zip

3.a) In a msys shell installation should be fully automatic:

   $ cabal install hmatrix --extra-lib-dir=${GSL} --extra-include-dir=${GSL}

3.b) Alternatively, in a normal windows cmd:

    > cabal unpack hmatrix

    Edit hmatrix.cabal, in line 18 change build-type to "Simple", and then

    > cabal install --extra-lib-dir=%GSL% --extra-include-dir=%GSL%

4) If everything is ok we can run the tests:

   > ghci
   Prelude> Numeric.LinearAlgebra.Tests.runTests 20

NOTE: The examples using graphics do not yet work in windows.