diff options
Diffstat (limited to 'lib/GSL/Special/Synchrotron.hs')
-rw-r--r-- | lib/GSL/Special/Synchrotron.hs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/GSL/Special/Synchrotron.hs b/lib/GSL/Special/Synchrotron.hs index 7cec281..2ed484b 100644 --- a/lib/GSL/Special/Synchrotron.hs +++ b/lib/GSL/Special/Synchrotron.hs | |||
@@ -9,7 +9,7 @@ Portability : uses ffi | |||
9 | 9 | ||
10 | Wrappers for selected functions described at: | 10 | Wrappers for selected functions described at: |
11 | 11 | ||
12 | <http://www.gnu.org/software/gsl/manual/html_node/Synchrotron-Functions.html> | 12 | <http://www.google.com/search?q=gsl_sf_synchrotron.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> |
13 | 13 | ||
14 | -} | 14 | -} |
15 | ------------------------------------------------------------ | 15 | ------------------------------------------------------------ |
@@ -25,21 +25,29 @@ import Foreign(Ptr) | |||
25 | import GSL.Special.Internal | 25 | import GSL.Special.Internal |
26 | 26 | ||
27 | -- | wrapper for int gsl_sf_synchrotron_1_e(double x,gsl_sf_result* result); | 27 | -- | wrapper for int gsl_sf_synchrotron_1_e(double x,gsl_sf_result* result); |
28 | -- | ||
29 | -- <http://www.google.com/search?q=gsl_sf_synchrotron_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
28 | synchrotron_1_e :: Double -> (Double,Double) | 30 | synchrotron_1_e :: Double -> (Double,Double) |
29 | synchrotron_1_e x = createSFR "synchrotron_1_e" $ gsl_sf_synchrotron_1_e x | 31 | synchrotron_1_e x = createSFR "synchrotron_1_e" $ gsl_sf_synchrotron_1_e x |
30 | foreign import ccall "synchrotron.h gsl_sf_synchrotron_1_e" gsl_sf_synchrotron_1_e :: Double -> Ptr Double -> IO(Int) | 32 | foreign import ccall "synchrotron.h gsl_sf_synchrotron_1_e" gsl_sf_synchrotron_1_e :: Double -> Ptr Double -> IO(Int) |
31 | 33 | ||
32 | -- | wrapper for double gsl_sf_synchrotron_1(double x); | 34 | -- | wrapper for double gsl_sf_synchrotron_1(double x); |
35 | -- | ||
36 | -- <http://www.google.com/search?q=gsl_sf_synchrotron_1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
33 | synchrotron_1 :: Double -> Double | 37 | synchrotron_1 :: Double -> Double |
34 | synchrotron_1 = gsl_sf_synchrotron_1 | 38 | synchrotron_1 = gsl_sf_synchrotron_1 |
35 | foreign import ccall "synchrotron.h gsl_sf_synchrotron_1" gsl_sf_synchrotron_1 :: Double -> Double | 39 | foreign import ccall "synchrotron.h gsl_sf_synchrotron_1" gsl_sf_synchrotron_1 :: Double -> Double |
36 | 40 | ||
37 | -- | wrapper for int gsl_sf_synchrotron_2_e(double x,gsl_sf_result* result); | 41 | -- | wrapper for int gsl_sf_synchrotron_2_e(double x,gsl_sf_result* result); |
42 | -- | ||
43 | -- <http://www.google.com/search?q=gsl_sf_synchrotron_2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
38 | synchrotron_2_e :: Double -> (Double,Double) | 44 | synchrotron_2_e :: Double -> (Double,Double) |
39 | synchrotron_2_e x = createSFR "synchrotron_2_e" $ gsl_sf_synchrotron_2_e x | 45 | synchrotron_2_e x = createSFR "synchrotron_2_e" $ gsl_sf_synchrotron_2_e x |
40 | foreign import ccall "synchrotron.h gsl_sf_synchrotron_2_e" gsl_sf_synchrotron_2_e :: Double -> Ptr Double -> IO(Int) | 46 | foreign import ccall "synchrotron.h gsl_sf_synchrotron_2_e" gsl_sf_synchrotron_2_e :: Double -> Ptr Double -> IO(Int) |
41 | 47 | ||
42 | -- | wrapper for double gsl_sf_synchrotron_2(double x); | 48 | -- | wrapper for double gsl_sf_synchrotron_2(double x); |
49 | -- | ||
50 | -- <http://www.google.com/search?q=gsl_sf_synchrotron_2&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
43 | synchrotron_2 :: Double -> Double | 51 | synchrotron_2 :: Double -> Double |
44 | synchrotron_2 = gsl_sf_synchrotron_2 | 52 | synchrotron_2 = gsl_sf_synchrotron_2 |
45 | foreign import ccall "synchrotron.h gsl_sf_synchrotron_2" gsl_sf_synchrotron_2 :: Double -> Double | 53 | foreign import ccall "synchrotron.h gsl_sf_synchrotron_2" gsl_sf_synchrotron_2 :: Double -> Double |