summaryrefslogtreecommitdiff
path: root/lib/GSL/Special/Laguerre.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2007-07-29 15:43:21 +0000
committerAlberto Ruiz <aruiz@um.es>2007-07-29 15:43:21 +0000
commitb9db4d25d87cd4ab0f493413db92fb41b7eacda9 (patch)
treea447fe6f7e16b3768e912064a033ce257040720e /lib/GSL/Special/Laguerre.hs
parentb1b908c10ad7a393200651b4b23fc0b26efbc1b9 (diff)
more automatic wrappers for simple special functions
Diffstat (limited to 'lib/GSL/Special/Laguerre.hs')
-rw-r--r--lib/GSL/Special/Laguerre.hs67
1 files changed, 67 insertions, 0 deletions
diff --git a/lib/GSL/Special/Laguerre.hs b/lib/GSL/Special/Laguerre.hs
new file mode 100644
index 0000000..6fa4343
--- /dev/null
+++ b/lib/GSL/Special/Laguerre.hs
@@ -0,0 +1,67 @@
1------------------------------------------------------------
2{- |
3Module : GSL.Special.Laguerre
4Copyright : (c) Alberto Ruiz 2006
5License : GPL-style
6Maintainer : Alberto Ruiz (aruiz at um dot es)
7Stability : provisional
8Portability : uses ffi
9
10
11
12-}
13------------------------------------------------------------
14
15module GSL.Special.Laguerre(
16 laguerre_1_e
17, laguerre_2_e
18, laguerre_3_e
19, laguerre_1
20, laguerre_2
21, laguerre_3
22, laguerre_n_e
23, laguerre_n
24) where
25
26import Foreign(Ptr)
27import GSL.Special.Internal
28
29-- | wrapper for int gsl_sf_laguerre_1_e(double a,double x,gsl_sf_result* result);
30laguerre_1_e :: Double -> Double -> (Double,Double)
31laguerre_1_e a x = createSFR "laguerre_1_e" $ gsl_sf_laguerre_1_e a x
32foreign import ccall "laguerre.h gsl_sf_laguerre_1_e" gsl_sf_laguerre_1_e :: Double -> Double -> Ptr Double -> IO(Int)
33
34-- | wrapper for int gsl_sf_laguerre_2_e(double a,double x,gsl_sf_result* result);
35laguerre_2_e :: Double -> Double -> (Double,Double)
36laguerre_2_e a x = createSFR "laguerre_2_e" $ gsl_sf_laguerre_2_e a x
37foreign import ccall "laguerre.h gsl_sf_laguerre_2_e" gsl_sf_laguerre_2_e :: Double -> Double -> Ptr Double -> IO(Int)
38
39-- | wrapper for int gsl_sf_laguerre_3_e(double a,double x,gsl_sf_result* result);
40laguerre_3_e :: Double -> Double -> (Double,Double)
41laguerre_3_e a x = createSFR "laguerre_3_e" $ gsl_sf_laguerre_3_e a x
42foreign import ccall "laguerre.h gsl_sf_laguerre_3_e" gsl_sf_laguerre_3_e :: Double -> Double -> Ptr Double -> IO(Int)
43
44-- | wrapper for double gsl_sf_laguerre_1(double a,double x);
45laguerre_1 :: Double -> Double -> Double
46laguerre_1 = gsl_sf_laguerre_1
47foreign import ccall "laguerre.h gsl_sf_laguerre_1" gsl_sf_laguerre_1 :: Double -> Double -> Double
48
49-- | wrapper for double gsl_sf_laguerre_2(double a,double x);
50laguerre_2 :: Double -> Double -> Double
51laguerre_2 = gsl_sf_laguerre_2
52foreign import ccall "laguerre.h gsl_sf_laguerre_2" gsl_sf_laguerre_2 :: Double -> Double -> Double
53
54-- | wrapper for double gsl_sf_laguerre_3(double a,double x);
55laguerre_3 :: Double -> Double -> Double
56laguerre_3 = gsl_sf_laguerre_3
57foreign import ccall "laguerre.h gsl_sf_laguerre_3" gsl_sf_laguerre_3 :: Double -> Double -> Double
58
59-- | wrapper for int gsl_sf_laguerre_n_e(int n,double a,double x,gsl_sf_result* result);
60laguerre_n_e :: Int -> Double -> Double -> (Double,Double)
61laguerre_n_e n a x = createSFR "laguerre_n_e" $ gsl_sf_laguerre_n_e n a x
62foreign import ccall "laguerre.h gsl_sf_laguerre_n_e" gsl_sf_laguerre_n_e :: Int -> Double -> Double -> Ptr Double -> IO(Int)
63
64-- | wrapper for double gsl_sf_laguerre_n(int n,double a,double x);
65laguerre_n :: Int -> Double -> Double -> Double
66laguerre_n = gsl_sf_laguerre_n
67foreign import ccall "laguerre.h gsl_sf_laguerre_n" gsl_sf_laguerre_n :: Int -> Double -> Double -> Double