blob: 64b6ced935df3079f10da43ae4acdeec2ae74a9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
------------------------------------------------------------
-- |
-- Module : Numeric.GSL.Special.Dawson
-- Copyright : (c) Alberto Ruiz 2006-11
-- License : GPL
-- Maintainer : Alberto Ruiz (aruiz at um dot es)
-- Stability : provisional
-- Portability : uses ffi
--
-- Wrappers for selected functions described at:
--
-- <http://www.google.com/search?q=gsl_sf_dawson.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
------------------------------------------------------------
module Numeric.GSL.Special.Dawson(
dawson_e
, dawson
) where
import Foreign(Ptr)
import Foreign.C.Types
import Numeric.GSL.Special.Internal
dawson_e :: Double -> (Double,Double)
dawson_e x = createSFR "dawson_e" $ gsl_sf_dawson_e x
foreign import ccall unsafe "gsl_sf_dawson_e" gsl_sf_dawson_e :: Double -> Ptr () -> IO CInt
dawson :: Double -> Double
dawson = gsl_sf_dawson
foreign import ccall unsafe "gsl_sf_dawson" gsl_sf_dawson :: Double -> Double
|