diff options
Diffstat (limited to 'lib/Numeric/GSL.hs')
-rw-r--r-- | lib/Numeric/GSL.hs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/Numeric/GSL.hs b/lib/Numeric/GSL.hs new file mode 100644 index 0000000..4bc3940 --- /dev/null +++ b/lib/Numeric/GSL.hs | |||
@@ -0,0 +1,38 @@ | |||
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 the available Numeric.GSL functions (except those in "LinearAlgebra"). | ||
12 | |||
13 | -} | ||
14 | |||
15 | module Numeric.GSL ( | ||
16 | module Numeric.GSL.Integration | ||
17 | , module Numeric.GSL.Differentiation | ||
18 | , module Numeric.GSL.Fourier | ||
19 | , module Numeric.GSL.Polynomials | ||
20 | , module Numeric.GSL.Minimization | ||
21 | , module Numeric.GSL.Special | ||
22 | , module Complex | ||
23 | , setErrorHandlerOff | ||
24 | ) where | ||
25 | |||
26 | import Numeric.GSL.Integration | ||
27 | import Numeric.GSL.Differentiation | ||
28 | import Numeric.GSL.Special | ||
29 | import Numeric.GSL.Fourier | ||
30 | import Numeric.GSL.Polynomials | ||
31 | import Numeric.GSL.Minimization | ||
32 | import Complex | ||
33 | import Numeric.GSL.Special | ||
34 | |||
35 | |||
36 | -- | This action removes the GSL default error handler (which aborts the program), so that | ||
37 | -- GSL errors can be handled by Haskell (using Control.Exception) and ghci doesn't abort. | ||
38 | foreign import ccall "GSL/gsl-aux.h no_abort_on_error" setErrorHandlerOff :: IO () | ||