From 197e88c3b56d28840217010a2871c6ea3a4dd1a4 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Wed, 21 May 2014 10:30:55 +0200 Subject: update dependencies, move examples etc --- packages/gsl/src/Numeric/GSL.hs | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 packages/gsl/src/Numeric/GSL.hs (limited to 'packages/gsl/src/Numeric/GSL.hs') diff --git a/packages/gsl/src/Numeric/GSL.hs b/packages/gsl/src/Numeric/GSL.hs new file mode 100644 index 0000000..61b8d7b --- /dev/null +++ b/packages/gsl/src/Numeric/GSL.hs @@ -0,0 +1,43 @@ +{- | + +Module : Numeric.GSL +Copyright : (c) Alberto Ruiz 2006-14 +License : GPL + +Maintainer : Alberto Ruiz +Stability : provisional + +This module reexports all available GSL functions. + +The GSL special functions are in the separate package hmatrix-special. + +-} + +module Numeric.GSL ( + module Numeric.GSL.Integration +, module Numeric.GSL.Differentiation +, module Numeric.GSL.Fourier +, module Numeric.GSL.Polynomials +, module Numeric.GSL.Minimization +, module Numeric.GSL.Root +, module Numeric.GSL.ODE +, module Numeric.GSL.Fitting +, module Data.Complex +, setErrorHandlerOff +) where + +import Numeric.GSL.Integration +import Numeric.GSL.Differentiation +import Numeric.GSL.Fourier +import Numeric.GSL.Polynomials +import Numeric.GSL.Minimization +import Numeric.GSL.Root +import Numeric.GSL.ODE +import Numeric.GSL.Fitting +import Data.Complex + + +-- | This action removes the GSL default error handler (which aborts the program), so that +-- GSL errors can be handled by Haskell (using Control.Exception) and ghci doesn't abort. +foreign import ccall unsafe "GSL/gsl-aux.h no_abort_on_error" setErrorHandlerOff :: IO () + -- cgit v1.2.3