summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Special/Synchrotron.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2008-01-21 21:40:07 +0000
committerAlberto Ruiz <aruiz@um.es>2008-01-21 21:40:07 +0000
commit17749900a9146ddf6cd8ebf59dc35e56d6bff413 (patch)
treed352b7b155ebf650cd41a134aeb39450e54163b2 /lib/Numeric/GSL/Special/Synchrotron.hs
parent4fb0006a2227d3d5293a53b88ef67ce6ebd73440 (diff)
IO CInt results
Diffstat (limited to 'lib/Numeric/GSL/Special/Synchrotron.hs')
-rw-r--r--lib/Numeric/GSL/Special/Synchrotron.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Numeric/GSL/Special/Synchrotron.hs b/lib/Numeric/GSL/Special/Synchrotron.hs
index 14881fe..8adcce8 100644
--- a/lib/Numeric/GSL/Special/Synchrotron.hs
+++ b/lib/Numeric/GSL/Special/Synchrotron.hs
@@ -22,6 +22,7 @@ module Numeric.GSL.Special.Synchrotron(
22) where 22) where
23 23
24import Foreign(Ptr) 24import Foreign(Ptr)
25import Foreign.C.Types(CInt)
25import Numeric.GSL.Special.Internal 26import Numeric.GSL.Special.Internal
26 27
27-- | wrapper for int gsl_sf_synchrotron_1_e(double x,gsl_sf_result* result); 28-- | wrapper for int gsl_sf_synchrotron_1_e(double x,gsl_sf_result* result);
@@ -29,7 +30,7 @@ import Numeric.GSL.Special.Internal
29-- <http://www.google.com/search?q=gsl_sf_synchrotron_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 30-- <http://www.google.com/search?q=gsl_sf_synchrotron_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
30synchrotron_1_e :: Double -> (Double,Double) 31synchrotron_1_e :: Double -> (Double,Double)
31synchrotron_1_e x = createSFR "synchrotron_1_e" $ gsl_sf_synchrotron_1_e x 32synchrotron_1_e x = createSFR "synchrotron_1_e" $ gsl_sf_synchrotron_1_e x
32foreign import ccall "synchrotron.h gsl_sf_synchrotron_1_e" gsl_sf_synchrotron_1_e :: Double -> Ptr Double -> IO(Int) 33foreign import ccall "synchrotron.h gsl_sf_synchrotron_1_e" gsl_sf_synchrotron_1_e :: Double -> Ptr () -> IO CInt
33 34
34-- | wrapper for double gsl_sf_synchrotron_1(double x); 35-- | wrapper for double gsl_sf_synchrotron_1(double x);
35-- 36--
@@ -43,7 +44,7 @@ foreign import ccall "synchrotron.h gsl_sf_synchrotron_1" gsl_sf_synchrotron_1 :
43-- <http://www.google.com/search?q=gsl_sf_synchrotron_2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 44-- <http://www.google.com/search?q=gsl_sf_synchrotron_2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
44synchrotron_2_e :: Double -> (Double,Double) 45synchrotron_2_e :: Double -> (Double,Double)
45synchrotron_2_e x = createSFR "synchrotron_2_e" $ gsl_sf_synchrotron_2_e x 46synchrotron_2_e x = createSFR "synchrotron_2_e" $ gsl_sf_synchrotron_2_e x
46foreign import ccall "synchrotron.h gsl_sf_synchrotron_2_e" gsl_sf_synchrotron_2_e :: Double -> Ptr Double -> IO(Int) 47foreign import ccall "synchrotron.h gsl_sf_synchrotron_2_e" gsl_sf_synchrotron_2_e :: Double -> Ptr () -> IO CInt
47 48
48-- | wrapper for double gsl_sf_synchrotron_2(double x); 49-- | wrapper for double gsl_sf_synchrotron_2(double x);
49-- 50--