diff options
author | Alberto Ruiz <aruiz@um.es> | 2014-05-08 08:48:12 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2014-05-08 08:48:12 +0200 |
commit | 1925c123d7d8184a1d2ddc0a413e0fd2776e1083 (patch) | |
tree | fad79f909d9c3be53d68e6ebd67202650536d387 /packages/hmatrix/src/Numeric/GSL.hs | |
parent | eb3f702d065a4a967bb754977233e6eec408fd1f (diff) |
empty hmatrix-base
Diffstat (limited to 'packages/hmatrix/src/Numeric/GSL.hs')
-rw-r--r-- | packages/hmatrix/src/Numeric/GSL.hs | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/packages/hmatrix/src/Numeric/GSL.hs b/packages/hmatrix/src/Numeric/GSL.hs new file mode 100644 index 0000000..5f39a3e --- /dev/null +++ b/packages/hmatrix/src/Numeric/GSL.hs | |||
@@ -0,0 +1,43 @@ | |||
1 | {- | | ||
2 | |||
3 | Module : Numeric.GSL | ||
4 | Copyright : (c) Alberto Ruiz 2006-7 | ||
5 | License : GPL-style | ||
6 | |||
7 | Maintainer : Alberto Ruiz (aruiz at um dot es) | ||
8 | Stability : provisional | ||
9 | Portability : uses -fffi and -fglasgow-exts | ||
10 | |||
11 | This module reexports all available GSL functions. | ||
12 | |||
13 | The GSL special functions are in the separate package hmatrix-special. | ||
14 | |||
15 | -} | ||
16 | |||
17 | module Numeric.GSL ( | ||
18 | module Numeric.GSL.Integration | ||
19 | , module Numeric.GSL.Differentiation | ||
20 | , module Numeric.GSL.Fourier | ||
21 | , module Numeric.GSL.Polynomials | ||
22 | , module Numeric.GSL.Minimization | ||
23 | , module Numeric.GSL.Root | ||
24 | , module Numeric.GSL.ODE | ||
25 | , module Numeric.GSL.Fitting | ||
26 | , module Data.Complex | ||
27 | , setErrorHandlerOff | ||
28 | ) where | ||
29 | |||
30 | import Numeric.GSL.Integration | ||
31 | import Numeric.GSL.Differentiation | ||
32 | import Numeric.GSL.Fourier | ||
33 | import Numeric.GSL.Polynomials | ||
34 | import Numeric.GSL.Minimization | ||
35 | import Numeric.GSL.Root | ||
36 | import Numeric.GSL.ODE | ||
37 | import Numeric.GSL.Fitting | ||
38 | import Data.Complex | ||
39 | |||
40 | |||
41 | -- | This action removes the GSL default error handler (which aborts the program), so that | ||
42 | -- GSL errors can be handled by Haskell (using Control.Exception) and ghci doesn't abort. | ||
43 | foreign import ccall unsafe "GSL/gsl-aux.h no_abort_on_error" setErrorHandlerOff :: IO () | ||