diff options
Diffstat (limited to 'lib/Numeric/GSL/Special/Transport.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Transport.hs | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/lib/Numeric/GSL/Special/Transport.hs b/lib/Numeric/GSL/Special/Transport.hs new file mode 100644 index 0000000..3bdf1cf --- /dev/null +++ b/lib/Numeric/GSL/Special/Transport.hs | |||
@@ -0,0 +1,52 @@ | |||
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 | transport_2_e :: Double -> (Double,Double) | ||
30 | transport_2_e x = createSFR "transport_2_e" $ gsl_sf_transport_2_e x | ||
31 | foreign import ccall "gsl_sf_transport_2_e" gsl_sf_transport_2_e :: Double -> Ptr () -> IO CInt | ||
32 | transport_2 :: Double -> Double | ||
33 | transport_2 = gsl_sf_transport_2 | ||
34 | foreign import ccall "gsl_sf_transport_2" gsl_sf_transport_2 :: Double -> Double | ||
35 | transport_3_e :: Double -> (Double,Double) | ||
36 | transport_3_e x = createSFR "transport_3_e" $ gsl_sf_transport_3_e x | ||
37 | foreign import ccall "gsl_sf_transport_3_e" gsl_sf_transport_3_e :: Double -> Ptr () -> IO CInt | ||
38 | transport_3 :: Double -> Double | ||
39 | transport_3 = gsl_sf_transport_3 | ||
40 | foreign import ccall "gsl_sf_transport_3" gsl_sf_transport_3 :: Double -> Double | ||
41 | transport_4_e :: Double -> (Double,Double) | ||
42 | transport_4_e x = createSFR "transport_4_e" $ gsl_sf_transport_4_e x | ||
43 | foreign import ccall "gsl_sf_transport_4_e" gsl_sf_transport_4_e :: Double -> Ptr () -> IO CInt | ||
44 | transport_4 :: Double -> Double | ||
45 | transport_4 = gsl_sf_transport_4 | ||
46 | foreign import ccall "gsl_sf_transport_4" gsl_sf_transport_4 :: Double -> Double | ||
47 | transport_5_e :: Double -> (Double,Double) | ||
48 | transport_5_e x = createSFR "transport_5_e" $ gsl_sf_transport_5_e x | ||
49 | foreign import ccall "gsl_sf_transport_5_e" gsl_sf_transport_5_e :: Double -> Ptr () -> IO CInt | ||
50 | transport_5 :: Double -> Double | ||
51 | transport_5 = gsl_sf_transport_5 | ||
52 | foreign import ccall "gsl_sf_transport_5" gsl_sf_transport_5 :: Double -> Double | ||