diff options
Diffstat (limited to 'packages/special/lib/Numeric/GSL/Special/Transport.hs')
-rw-r--r-- | packages/special/lib/Numeric/GSL/Special/Transport.hs | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/packages/special/lib/Numeric/GSL/Special/Transport.hs b/packages/special/lib/Numeric/GSL/Special/Transport.hs new file mode 100644 index 0000000..e95a67a --- /dev/null +++ b/packages/special/lib/Numeric/GSL/Special/Transport.hs | |||
@@ -0,0 +1,60 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | -- | | ||
3 | -- Module : Numeric.GSL.Special.Transport | ||
4 | -- Copyright : (c) Alberto Ruiz 2006 | ||
5 | -- License : GPL | ||
6 | -- Maintainer : Alberto Ruiz (aruiz at um dot es) | ||
7 | -- Stability : provisional | ||
8 | -- Portability : uses ffi | ||
9 | -- | ||
10 | -- Wrappers for selected functions described at: | ||
11 | -- | ||
12 | -- <http://www.google.com/search?q=gsl_sf_transport.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | ------------------------------------------------------------ | ||
14 | |||
15 | module Numeric.GSL.Special.Transport( | ||
16 | transport_2_e | ||
17 | , transport_2 | ||
18 | , transport_3_e | ||
19 | , transport_3 | ||
20 | , transport_4_e | ||
21 | , transport_4 | ||
22 | , transport_5_e | ||
23 | , transport_5 | ||
24 | ) where | ||
25 | |||
26 | import Foreign(Ptr) | ||
27 | import Foreign.C.Types(CInt) | ||
28 | import Numeric.GSL.Special.Internal | ||
29 | |||
30 | transport_2_e :: Double -> (Double,Double) | ||
31 | transport_2_e x = createSFR "transport_2_e" $ gsl_sf_transport_2_e x | ||
32 | foreign import ccall SAFE_CHEAP "gsl_sf_transport_2_e" gsl_sf_transport_2_e :: Double -> Ptr () -> IO CInt | ||
33 | |||
34 | transport_2 :: Double -> Double | ||
35 | transport_2 = gsl_sf_transport_2 | ||
36 | foreign import ccall SAFE_CHEAP "gsl_sf_transport_2" gsl_sf_transport_2 :: Double -> Double | ||
37 | |||
38 | transport_3_e :: Double -> (Double,Double) | ||
39 | transport_3_e x = createSFR "transport_3_e" $ gsl_sf_transport_3_e x | ||
40 | foreign import ccall SAFE_CHEAP "gsl_sf_transport_3_e" gsl_sf_transport_3_e :: Double -> Ptr () -> IO CInt | ||
41 | |||
42 | transport_3 :: Double -> Double | ||
43 | transport_3 = gsl_sf_transport_3 | ||
44 | foreign import ccall SAFE_CHEAP "gsl_sf_transport_3" gsl_sf_transport_3 :: Double -> Double | ||
45 | |||
46 | transport_4_e :: Double -> (Double,Double) | ||
47 | transport_4_e x = createSFR "transport_4_e" $ gsl_sf_transport_4_e x | ||
48 | foreign import ccall SAFE_CHEAP "gsl_sf_transport_4_e" gsl_sf_transport_4_e :: Double -> Ptr () -> IO CInt | ||
49 | |||
50 | transport_4 :: Double -> Double | ||
51 | transport_4 = gsl_sf_transport_4 | ||
52 | foreign import ccall SAFE_CHEAP "gsl_sf_transport_4" gsl_sf_transport_4 :: Double -> Double | ||
53 | |||
54 | transport_5_e :: Double -> (Double,Double) | ||
55 | transport_5_e x = createSFR "transport_5_e" $ gsl_sf_transport_5_e x | ||
56 | foreign import ccall SAFE_CHEAP "gsl_sf_transport_5_e" gsl_sf_transport_5_e :: Double -> Ptr () -> IO CInt | ||
57 | |||
58 | transport_5 :: Double -> Double | ||
59 | transport_5 = gsl_sf_transport_5 | ||
60 | foreign import ccall SAFE_CHEAP "gsl_sf_transport_5" gsl_sf_transport_5 :: Double -> Double | ||