blob: 62d0baf5dd85be76e3d235caebc6b58c83fdbe96 (
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
31
|
------------------------------------------------------------
{- |
Module : GSL.Special.Dawson
Copyright : (c) Alberto Ruiz 2006
License : GPL-style
Maintainer : Alberto Ruiz (aruiz at um dot es)
Stability : provisional
Portability : uses ffi
-}
------------------------------------------------------------
module GSL.Special.Dawson(
dawson_e
, dawson
) where
import Foreign(Ptr)
import GSL.Special.Internal
-- | wrapper for int gsl_sf_dawson_e(double x,gsl_sf_result* result);
dawson_e :: Double -> (Double,Double)
dawson_e x = createSFR "dawson_e" $ gsl_sf_dawson_e x
foreign import ccall "dawson.h gsl_sf_dawson_e" gsl_sf_dawson_e :: Double -> Ptr Double -> IO(Int)
-- | wrapper for double gsl_sf_dawson(double x);
dawson :: Double -> Double
dawson = gsl_sf_dawson
foreign import ccall "dawson.h gsl_sf_dawson" gsl_sf_dawson :: Double -> Double
|