summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Special/Synchrotron.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Numeric/GSL/Special/Synchrotron.hs')
-rw-r--r--lib/Numeric/GSL/Special/Synchrotron.hs40
1 files changed, 11 insertions, 29 deletions
diff --git a/lib/Numeric/GSL/Special/Synchrotron.hs b/lib/Numeric/GSL/Special/Synchrotron.hs
index 7f2785d..6103a8a 100644
--- a/lib/Numeric/GSL/Special/Synchrotron.hs
+++ b/lib/Numeric/GSL/Special/Synchrotron.hs
@@ -1,17 +1,15 @@
1------------------------------------------------------------ 1------------------------------------------------------------
2{- | 2-- |
3Module : Numeric.GSL.Special.Synchrotron 3-- Module : Numeric.GSL.Special.Synchrotron
4Copyright : (c) Alberto Ruiz 2006 4-- Copyright : (c) Alberto Ruiz 2006
5License : GPL-style 5-- License : GPL
6Maintainer : Alberto Ruiz (aruiz at um dot es) 6-- Maintainer : Alberto Ruiz (aruiz at um dot es)
7Stability : provisional 7-- Stability : provisional
8Portability : uses ffi 8-- Portability : uses ffi
9 9--
10Wrappers for selected functions described at: 10-- Wrappers for selected functions described at:
11 11--
12<http://www.google.com/search?q=gsl_sf_synchrotron.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 12-- <http://www.google.com/search?q=gsl_sf_synchrotron.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
13
14-}
15------------------------------------------------------------ 13------------------------------------------------------------
16 14
17module Numeric.GSL.Special.Synchrotron( 15module Numeric.GSL.Special.Synchrotron(
@@ -24,31 +22,15 @@ module Numeric.GSL.Special.Synchrotron(
24import Foreign(Ptr) 22import Foreign(Ptr)
25import Foreign.C.Types(CInt) 23import Foreign.C.Types(CInt)
26import Numeric.GSL.Special.Internal 24import Numeric.GSL.Special.Internal
27
28-- | wrapper for int gsl_sf_synchrotron_1_e(double x,gsl_sf_result* result);
29--
30-- <http://www.google.com/search?q=gsl_sf_synchrotron_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
31synchrotron_1_e :: Double -> (Double,Double) 25synchrotron_1_e :: Double -> (Double,Double)
32synchrotron_1_e x = createSFR "synchrotron_1_e" $ gsl_sf_synchrotron_1_e x 26synchrotron_1_e x = createSFR "synchrotron_1_e" $ gsl_sf_synchrotron_1_e x
33foreign import ccall "gsl_sf_synchrotron_1_e" gsl_sf_synchrotron_1_e :: Double -> Ptr () -> IO CInt 27foreign import ccall "gsl_sf_synchrotron_1_e" gsl_sf_synchrotron_1_e :: Double -> Ptr () -> IO CInt
34
35-- | wrapper for double gsl_sf_synchrotron_1(double x);
36--
37-- <http://www.google.com/search?q=gsl_sf_synchrotron_1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
38synchrotron_1 :: Double -> Double 28synchrotron_1 :: Double -> Double
39synchrotron_1 = gsl_sf_synchrotron_1 29synchrotron_1 = gsl_sf_synchrotron_1
40foreign import ccall "gsl_sf_synchrotron_1" gsl_sf_synchrotron_1 :: Double -> Double 30foreign import ccall "gsl_sf_synchrotron_1" gsl_sf_synchrotron_1 :: Double -> Double
41
42-- | wrapper for int gsl_sf_synchrotron_2_e(double x,gsl_sf_result* result);
43--
44-- <http://www.google.com/search?q=gsl_sf_synchrotron_2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
45synchrotron_2_e :: Double -> (Double,Double) 31synchrotron_2_e :: Double -> (Double,Double)
46synchrotron_2_e x = createSFR "synchrotron_2_e" $ gsl_sf_synchrotron_2_e x 32synchrotron_2_e x = createSFR "synchrotron_2_e" $ gsl_sf_synchrotron_2_e x
47foreign import ccall "gsl_sf_synchrotron_2_e" gsl_sf_synchrotron_2_e :: Double -> Ptr () -> IO CInt 33foreign import ccall "gsl_sf_synchrotron_2_e" gsl_sf_synchrotron_2_e :: Double -> Ptr () -> IO CInt
48
49-- | wrapper for double gsl_sf_synchrotron_2(double x);
50--
51-- <http://www.google.com/search?q=gsl_sf_synchrotron_2&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
52synchrotron_2 :: Double -> Double 34synchrotron_2 :: Double -> Double
53synchrotron_2 = gsl_sf_synchrotron_2 35synchrotron_2 = gsl_sf_synchrotron_2
54foreign import ccall "gsl_sf_synchrotron_2" gsl_sf_synchrotron_2 :: Double -> Double 36foreign import ccall "gsl_sf_synchrotron_2" gsl_sf_synchrotron_2 :: Double -> Double