diff options
author | Alberto Ruiz <aruiz@um.es> | 2009-06-17 12:27:17 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2009-06-17 12:27:17 +0000 |
commit | e58f1e0e94407983fa18cd535cf76427019f1519 (patch) | |
tree | 4ffffdb92fd78e2233485895fb288111af0bf386 /lib/Numeric/GSL/Special/Gegenbauer.hs | |
parent | 45e0e90ffdedd3c1fbe3da750018c65a1535cf75 (diff) |
added special transport and elljac
Diffstat (limited to 'lib/Numeric/GSL/Special/Gegenbauer.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Gegenbauer.hs | 60 |
1 files changed, 11 insertions, 49 deletions
diff --git a/lib/Numeric/GSL/Special/Gegenbauer.hs b/lib/Numeric/GSL/Special/Gegenbauer.hs index 7f15fa7..c4e433b 100644 --- a/lib/Numeric/GSL/Special/Gegenbauer.hs +++ b/lib/Numeric/GSL/Special/Gegenbauer.hs | |||
@@ -1,17 +1,15 @@ | |||
1 | ------------------------------------------------------------ | 1 | ------------------------------------------------------------ |
2 | {- | | 2 | -- | |
3 | Module : Numeric.GSL.Special.Gegenbauer | 3 | -- Module : Numeric.GSL.Special.Gegenbauer |
4 | Copyright : (c) Alberto Ruiz 2006 | 4 | -- Copyright : (c) Alberto Ruiz 2006 |
5 | License : GPL-style | 5 | -- License : GPL |
6 | Maintainer : Alberto Ruiz (aruiz at um dot es) | 6 | -- Maintainer : Alberto Ruiz (aruiz at um dot es) |
7 | Stability : provisional | 7 | -- Stability : provisional |
8 | Portability : uses ffi | 8 | -- Portability : uses ffi |
9 | 9 | -- | |
10 | Wrappers for selected functions described at: | 10 | -- Wrappers for selected functions described at: |
11 | 11 | -- | |
12 | <http://www.google.com/search?q=gsl_sf_gegenbauer.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 12 | -- <http://www.google.com/search?q=gsl_sf_gegenbauer.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> |
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | 13 | ------------------------------------------------------------ |
16 | 14 | ||
17 | module Numeric.GSL.Special.Gegenbauer( | 15 | module Numeric.GSL.Special.Gegenbauer( |
@@ -28,66 +26,30 @@ module Numeric.GSL.Special.Gegenbauer( | |||
28 | import Foreign(Ptr) | 26 | import Foreign(Ptr) |
29 | import Foreign.C.Types(CInt) | 27 | import Foreign.C.Types(CInt) |
30 | import Numeric.GSL.Special.Internal | 28 | import Numeric.GSL.Special.Internal |
31 | |||
32 | -- | wrapper for int gsl_sf_gegenpoly_1_e(double lambda,double x,gsl_sf_result* result); | ||
33 | -- | ||
34 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
35 | gegenpoly_1_e :: Double -> Double -> (Double,Double) | 29 | gegenpoly_1_e :: Double -> Double -> (Double,Double) |
36 | gegenpoly_1_e lambda x = createSFR "gegenpoly_1_e" $ gsl_sf_gegenpoly_1_e lambda x | 30 | gegenpoly_1_e lambda x = createSFR "gegenpoly_1_e" $ gsl_sf_gegenpoly_1_e lambda x |
37 | foreign import ccall "gsl_sf_gegenpoly_1_e" gsl_sf_gegenpoly_1_e :: Double -> Double -> Ptr () -> IO CInt | 31 | foreign import ccall "gsl_sf_gegenpoly_1_e" gsl_sf_gegenpoly_1_e :: Double -> Double -> Ptr () -> IO CInt |
38 | |||
39 | -- | wrapper for int gsl_sf_gegenpoly_2_e(double lambda,double x,gsl_sf_result* result); | ||
40 | -- | ||
41 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
42 | gegenpoly_2_e :: Double -> Double -> (Double,Double) | 32 | gegenpoly_2_e :: Double -> Double -> (Double,Double) |
43 | gegenpoly_2_e lambda x = createSFR "gegenpoly_2_e" $ gsl_sf_gegenpoly_2_e lambda x | 33 | gegenpoly_2_e lambda x = createSFR "gegenpoly_2_e" $ gsl_sf_gegenpoly_2_e lambda x |
44 | foreign import ccall "gsl_sf_gegenpoly_2_e" gsl_sf_gegenpoly_2_e :: Double -> Double -> Ptr () -> IO CInt | 34 | foreign import ccall "gsl_sf_gegenpoly_2_e" gsl_sf_gegenpoly_2_e :: Double -> Double -> Ptr () -> IO CInt |
45 | |||
46 | -- | wrapper for int gsl_sf_gegenpoly_3_e(double lambda,double x,gsl_sf_result* result); | ||
47 | -- | ||
48 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_3_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
49 | gegenpoly_3_e :: Double -> Double -> (Double,Double) | 35 | gegenpoly_3_e :: Double -> Double -> (Double,Double) |
50 | gegenpoly_3_e lambda x = createSFR "gegenpoly_3_e" $ gsl_sf_gegenpoly_3_e lambda x | 36 | gegenpoly_3_e lambda x = createSFR "gegenpoly_3_e" $ gsl_sf_gegenpoly_3_e lambda x |
51 | foreign import ccall "gsl_sf_gegenpoly_3_e" gsl_sf_gegenpoly_3_e :: Double -> Double -> Ptr () -> IO CInt | 37 | foreign import ccall "gsl_sf_gegenpoly_3_e" gsl_sf_gegenpoly_3_e :: Double -> Double -> Ptr () -> IO CInt |
52 | |||
53 | -- | wrapper for double gsl_sf_gegenpoly_1(double lambda,double x); | ||
54 | -- | ||
55 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
56 | gegenpoly_1 :: Double -> Double -> Double | 38 | gegenpoly_1 :: Double -> Double -> Double |
57 | gegenpoly_1 = gsl_sf_gegenpoly_1 | 39 | gegenpoly_1 = gsl_sf_gegenpoly_1 |
58 | foreign import ccall "gsl_sf_gegenpoly_1" gsl_sf_gegenpoly_1 :: Double -> Double -> Double | 40 | foreign import ccall "gsl_sf_gegenpoly_1" gsl_sf_gegenpoly_1 :: Double -> Double -> Double |
59 | |||
60 | -- | wrapper for double gsl_sf_gegenpoly_2(double lambda,double x); | ||
61 | -- | ||
62 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_2&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
63 | gegenpoly_2 :: Double -> Double -> Double | 41 | gegenpoly_2 :: Double -> Double -> Double |
64 | gegenpoly_2 = gsl_sf_gegenpoly_2 | 42 | gegenpoly_2 = gsl_sf_gegenpoly_2 |
65 | foreign import ccall "gsl_sf_gegenpoly_2" gsl_sf_gegenpoly_2 :: Double -> Double -> Double | 43 | foreign import ccall "gsl_sf_gegenpoly_2" gsl_sf_gegenpoly_2 :: Double -> Double -> Double |
66 | |||
67 | -- | wrapper for double gsl_sf_gegenpoly_3(double lambda,double x); | ||
68 | -- | ||
69 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_3&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
70 | gegenpoly_3 :: Double -> Double -> Double | 44 | gegenpoly_3 :: Double -> Double -> Double |
71 | gegenpoly_3 = gsl_sf_gegenpoly_3 | 45 | gegenpoly_3 = gsl_sf_gegenpoly_3 |
72 | foreign import ccall "gsl_sf_gegenpoly_3" gsl_sf_gegenpoly_3 :: Double -> Double -> Double | 46 | foreign import ccall "gsl_sf_gegenpoly_3" gsl_sf_gegenpoly_3 :: Double -> Double -> Double |
73 | |||
74 | -- | wrapper for int gsl_sf_gegenpoly_n_e(int n,double lambda,double x,gsl_sf_result* result); | ||
75 | -- | ||
76 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_n_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
77 | gegenpoly_n_e :: CInt -> Double -> Double -> (Double,Double) | 47 | gegenpoly_n_e :: CInt -> Double -> Double -> (Double,Double) |
78 | gegenpoly_n_e n lambda x = createSFR "gegenpoly_n_e" $ gsl_sf_gegenpoly_n_e n lambda x | 48 | gegenpoly_n_e n lambda x = createSFR "gegenpoly_n_e" $ gsl_sf_gegenpoly_n_e n lambda x |
79 | foreign import ccall "gsl_sf_gegenpoly_n_e" gsl_sf_gegenpoly_n_e :: CInt -> Double -> Double -> Ptr () -> IO CInt | 49 | foreign import ccall "gsl_sf_gegenpoly_n_e" gsl_sf_gegenpoly_n_e :: CInt -> Double -> Double -> Ptr () -> IO CInt |
80 | |||
81 | -- | wrapper for double gsl_sf_gegenpoly_n(int n,double lambda,double x); | ||
82 | -- | ||
83 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_n&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
84 | gegenpoly_n :: CInt -> Double -> Double -> Double | 50 | gegenpoly_n :: CInt -> Double -> Double -> Double |
85 | gegenpoly_n = gsl_sf_gegenpoly_n | 51 | gegenpoly_n = gsl_sf_gegenpoly_n |
86 | foreign import ccall "gsl_sf_gegenpoly_n" gsl_sf_gegenpoly_n :: CInt -> Double -> Double -> Double | 52 | foreign import ccall "gsl_sf_gegenpoly_n" gsl_sf_gegenpoly_n :: CInt -> Double -> Double -> Double |
87 | |||
88 | -- | wrapper for int gsl_sf_gegenpoly_array(int nmax,double lambda,double x,double* result_array); | ||
89 | -- | ||
90 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
91 | gegenpoly_array :: CInt -> Double -> Double -> Ptr Double -> CInt | 53 | gegenpoly_array :: CInt -> Double -> Double -> Ptr Double -> CInt |
92 | gegenpoly_array = gsl_sf_gegenpoly_array | 54 | gegenpoly_array = gsl_sf_gegenpoly_array |
93 | foreign import ccall "gsl_sf_gegenpoly_array" gsl_sf_gegenpoly_array :: CInt -> Double -> Double -> Ptr Double -> CInt | 55 | foreign import ccall "gsl_sf_gegenpoly_array" gsl_sf_gegenpoly_array :: CInt -> Double -> Double -> Ptr Double -> CInt |