summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Special/Transport.hs
blob: e95a67a090d1d742109df25cab2af7a42d44e54b (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
------------------------------------------------------------
-- |
-- Module      :  Numeric.GSL.Special.Transport
-- Copyright   :  (c) Alberto Ruiz 2006
-- 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_transport.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
------------------------------------------------------------

module Numeric.GSL.Special.Transport(
  transport_2_e
, transport_2
, transport_3_e
, transport_3
, transport_4_e
, transport_4
, transport_5_e
, transport_5
) where

import Foreign(Ptr)
import Foreign.C.Types(CInt)
import Numeric.GSL.Special.Internal

transport_2_e :: Double -> (Double,Double)
transport_2_e x = createSFR "transport_2_e" $ gsl_sf_transport_2_e x
foreign import ccall SAFE_CHEAP "gsl_sf_transport_2_e" gsl_sf_transport_2_e :: Double -> Ptr () -> IO CInt

transport_2 :: Double -> Double
transport_2 = gsl_sf_transport_2
foreign import ccall SAFE_CHEAP "gsl_sf_transport_2" gsl_sf_transport_2 :: Double -> Double

transport_3_e :: Double -> (Double,Double)
transport_3_e x = createSFR "transport_3_e" $ gsl_sf_transport_3_e x
foreign import ccall SAFE_CHEAP "gsl_sf_transport_3_e" gsl_sf_transport_3_e :: Double -> Ptr () -> IO CInt

transport_3 :: Double -> Double
transport_3 = gsl_sf_transport_3
foreign import ccall SAFE_CHEAP "gsl_sf_transport_3" gsl_sf_transport_3 :: Double -> Double

transport_4_e :: Double -> (Double,Double)
transport_4_e x = createSFR "transport_4_e" $ gsl_sf_transport_4_e x
foreign import ccall SAFE_CHEAP "gsl_sf_transport_4_e" gsl_sf_transport_4_e :: Double -> Ptr () -> IO CInt

transport_4 :: Double -> Double
transport_4 = gsl_sf_transport_4
foreign import ccall SAFE_CHEAP "gsl_sf_transport_4" gsl_sf_transport_4 :: Double -> Double

transport_5_e :: Double -> (Double,Double)
transport_5_e x = createSFR "transport_5_e" $ gsl_sf_transport_5_e x
foreign import ccall SAFE_CHEAP "gsl_sf_transport_5_e" gsl_sf_transport_5_e :: Double -> Ptr () -> IO CInt

transport_5 :: Double -> Double
transport_5 = gsl_sf_transport_5
foreign import ccall SAFE_CHEAP "gsl_sf_transport_5" gsl_sf_transport_5 :: Double -> Double