diff options
author | Alberto Ruiz <aruiz@um.es> | 2012-03-13 14:51:12 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2012-03-13 14:51:12 +0100 |
commit | 072055e1658fa6fd64a4462b6a243ec0f5e5cdb4 (patch) | |
tree | 09e3a46185a1ee231cdddab6955437a2b0ead601 /packages/special/lib/Numeric/GSL/Special/Gegenbauer.hs | |
parent | 9c4a8a37291f902312215452d0bdd9ad95408ae9 (diff) |
revert to SAFE_CHEAP macro, unsafe by default
Diffstat (limited to 'packages/special/lib/Numeric/GSL/Special/Gegenbauer.hs')
-rw-r--r-- | packages/special/lib/Numeric/GSL/Special/Gegenbauer.hs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/special/lib/Numeric/GSL/Special/Gegenbauer.hs b/packages/special/lib/Numeric/GSL/Special/Gegenbauer.hs index bf8c08e..a3c998a 100644 --- a/packages/special/lib/Numeric/GSL/Special/Gegenbauer.hs +++ b/packages/special/lib/Numeric/GSL/Special/Gegenbauer.hs | |||
@@ -29,36 +29,36 @@ import Numeric.GSL.Special.Internal | |||
29 | 29 | ||
30 | gegenpoly_1_e :: Double -> Double -> (Double,Double) | 30 | gegenpoly_1_e :: Double -> Double -> (Double,Double) |
31 | gegenpoly_1_e lambda x = createSFR "gegenpoly_1_e" $ gsl_sf_gegenpoly_1_e lambda x | 31 | gegenpoly_1_e lambda x = createSFR "gegenpoly_1_e" $ gsl_sf_gegenpoly_1_e lambda x |
32 | foreign import ccall unsafe "gsl_sf_gegenpoly_1_e" gsl_sf_gegenpoly_1_e :: Double -> Double -> Ptr () -> IO CInt | 32 | foreign import ccall SAFE_CHEAP "gsl_sf_gegenpoly_1_e" gsl_sf_gegenpoly_1_e :: Double -> Double -> Ptr () -> IO CInt |
33 | 33 | ||
34 | gegenpoly_2_e :: Double -> Double -> (Double,Double) | 34 | gegenpoly_2_e :: Double -> Double -> (Double,Double) |
35 | gegenpoly_2_e lambda x = createSFR "gegenpoly_2_e" $ gsl_sf_gegenpoly_2_e lambda x | 35 | gegenpoly_2_e lambda x = createSFR "gegenpoly_2_e" $ gsl_sf_gegenpoly_2_e lambda x |
36 | foreign import ccall unsafe "gsl_sf_gegenpoly_2_e" gsl_sf_gegenpoly_2_e :: Double -> Double -> Ptr () -> IO CInt | 36 | foreign import ccall SAFE_CHEAP "gsl_sf_gegenpoly_2_e" gsl_sf_gegenpoly_2_e :: Double -> Double -> Ptr () -> IO CInt |
37 | 37 | ||
38 | gegenpoly_3_e :: Double -> Double -> (Double,Double) | 38 | gegenpoly_3_e :: Double -> Double -> (Double,Double) |
39 | gegenpoly_3_e lambda x = createSFR "gegenpoly_3_e" $ gsl_sf_gegenpoly_3_e lambda x | 39 | gegenpoly_3_e lambda x = createSFR "gegenpoly_3_e" $ gsl_sf_gegenpoly_3_e lambda x |
40 | foreign import ccall unsafe "gsl_sf_gegenpoly_3_e" gsl_sf_gegenpoly_3_e :: Double -> Double -> Ptr () -> IO CInt | 40 | foreign import ccall SAFE_CHEAP "gsl_sf_gegenpoly_3_e" gsl_sf_gegenpoly_3_e :: Double -> Double -> Ptr () -> IO CInt |
41 | 41 | ||
42 | gegenpoly_1 :: Double -> Double -> Double | 42 | gegenpoly_1 :: Double -> Double -> Double |
43 | gegenpoly_1 = gsl_sf_gegenpoly_1 | 43 | gegenpoly_1 = gsl_sf_gegenpoly_1 |
44 | foreign import ccall unsafe "gsl_sf_gegenpoly_1" gsl_sf_gegenpoly_1 :: Double -> Double -> Double | 44 | foreign import ccall SAFE_CHEAP "gsl_sf_gegenpoly_1" gsl_sf_gegenpoly_1 :: Double -> Double -> Double |
45 | 45 | ||
46 | gegenpoly_2 :: Double -> Double -> Double | 46 | gegenpoly_2 :: Double -> Double -> Double |
47 | gegenpoly_2 = gsl_sf_gegenpoly_2 | 47 | gegenpoly_2 = gsl_sf_gegenpoly_2 |
48 | foreign import ccall unsafe "gsl_sf_gegenpoly_2" gsl_sf_gegenpoly_2 :: Double -> Double -> Double | 48 | foreign import ccall SAFE_CHEAP "gsl_sf_gegenpoly_2" gsl_sf_gegenpoly_2 :: Double -> Double -> Double |
49 | 49 | ||
50 | gegenpoly_3 :: Double -> Double -> Double | 50 | gegenpoly_3 :: Double -> Double -> Double |
51 | gegenpoly_3 = gsl_sf_gegenpoly_3 | 51 | gegenpoly_3 = gsl_sf_gegenpoly_3 |
52 | foreign import ccall unsafe "gsl_sf_gegenpoly_3" gsl_sf_gegenpoly_3 :: Double -> Double -> Double | 52 | foreign import ccall SAFE_CHEAP "gsl_sf_gegenpoly_3" gsl_sf_gegenpoly_3 :: Double -> Double -> Double |
53 | 53 | ||
54 | gegenpoly_n_e :: CInt -> Double -> Double -> (Double,Double) | 54 | gegenpoly_n_e :: CInt -> Double -> Double -> (Double,Double) |
55 | gegenpoly_n_e n lambda x = createSFR "gegenpoly_n_e" $ gsl_sf_gegenpoly_n_e n lambda x | 55 | gegenpoly_n_e n lambda x = createSFR "gegenpoly_n_e" $ gsl_sf_gegenpoly_n_e n lambda x |
56 | foreign import ccall unsafe "gsl_sf_gegenpoly_n_e" gsl_sf_gegenpoly_n_e :: CInt -> Double -> Double -> Ptr () -> IO CInt | 56 | foreign import ccall SAFE_CHEAP "gsl_sf_gegenpoly_n_e" gsl_sf_gegenpoly_n_e :: CInt -> Double -> Double -> Ptr () -> IO CInt |
57 | 57 | ||
58 | gegenpoly_n :: CInt -> Double -> Double -> Double | 58 | gegenpoly_n :: CInt -> Double -> Double -> Double |
59 | gegenpoly_n = gsl_sf_gegenpoly_n | 59 | gegenpoly_n = gsl_sf_gegenpoly_n |
60 | foreign import ccall unsafe "gsl_sf_gegenpoly_n" gsl_sf_gegenpoly_n :: CInt -> Double -> Double -> Double | 60 | foreign import ccall SAFE_CHEAP "gsl_sf_gegenpoly_n" gsl_sf_gegenpoly_n :: CInt -> Double -> Double -> Double |
61 | 61 | ||
62 | gegenpoly_array :: CInt -> Double -> Double -> Ptr Double -> CInt | 62 | gegenpoly_array :: CInt -> Double -> Double -> Ptr Double -> CInt |
63 | gegenpoly_array = gsl_sf_gegenpoly_array | 63 | gegenpoly_array = gsl_sf_gegenpoly_array |
64 | foreign import ccall unsafe "gsl_sf_gegenpoly_array" gsl_sf_gegenpoly_array :: CInt -> Double -> Double -> Ptr Double -> CInt | 64 | foreign import ccall SAFE_CHEAP "gsl_sf_gegenpoly_array" gsl_sf_gegenpoly_array :: CInt -> Double -> Double -> Ptr Double -> CInt |