diff options
author | Clark Gaebel <cgaebel@csclub.uwaterloo.ca> | 2012-03-10 18:26:56 -0500 |
---|---|---|
committer | Clark Gaebel <cgaebel@csclub.uwaterloo.ca> | 2012-03-10 18:26:56 -0500 |
commit | f8b7b3734fa6bb8d63914719e09d17940add27d4 (patch) | |
tree | 233c1c41ea8d5a0cf43bf9430cc2b60cff38a3e9 /packages/special/lib/Numeric/GSL/Special/Zeta.hs | |
parent | 13fe05779923baad386b0059ff6fbc7c6af405d9 (diff) |
Removed foreign import safety.
Diffstat (limited to 'packages/special/lib/Numeric/GSL/Special/Zeta.hs')
-rw-r--r-- | packages/special/lib/Numeric/GSL/Special/Zeta.hs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/packages/special/lib/Numeric/GSL/Special/Zeta.hs b/packages/special/lib/Numeric/GSL/Special/Zeta.hs index a57a918..5b59630 100644 --- a/packages/special/lib/Numeric/GSL/Special/Zeta.hs +++ b/packages/special/lib/Numeric/GSL/Special/Zeta.hs | |||
@@ -35,56 +35,56 @@ import Numeric.GSL.Special.Internal | |||
35 | 35 | ||
36 | zeta_int_e :: CInt -> (Double,Double) | 36 | zeta_int_e :: CInt -> (Double,Double) |
37 | zeta_int_e n = createSFR "zeta_int_e" $ gsl_sf_zeta_int_e n | 37 | zeta_int_e n = createSFR "zeta_int_e" $ gsl_sf_zeta_int_e n |
38 | foreign import ccall SAFE_CHEAP "gsl_sf_zeta_int_e" gsl_sf_zeta_int_e :: CInt -> Ptr () -> IO CInt | 38 | foreign import ccall unsafe "gsl_sf_zeta_int_e" gsl_sf_zeta_int_e :: CInt -> Ptr () -> IO CInt |
39 | 39 | ||
40 | zeta_int :: CInt -> Double | 40 | zeta_int :: CInt -> Double |
41 | zeta_int = gsl_sf_zeta_int | 41 | zeta_int = gsl_sf_zeta_int |
42 | foreign import ccall SAFE_CHEAP "gsl_sf_zeta_int" gsl_sf_zeta_int :: CInt -> Double | 42 | foreign import ccall unsafe "gsl_sf_zeta_int" gsl_sf_zeta_int :: CInt -> Double |
43 | 43 | ||
44 | zeta_e :: Double -> (Double,Double) | 44 | zeta_e :: Double -> (Double,Double) |
45 | zeta_e s = createSFR "zeta_e" $ gsl_sf_zeta_e s | 45 | zeta_e s = createSFR "zeta_e" $ gsl_sf_zeta_e s |
46 | foreign import ccall SAFE_CHEAP "gsl_sf_zeta_e" gsl_sf_zeta_e :: Double -> Ptr () -> IO CInt | 46 | foreign import ccall unsafe "gsl_sf_zeta_e" gsl_sf_zeta_e :: Double -> Ptr () -> IO CInt |
47 | 47 | ||
48 | zeta :: Double -> Double | 48 | zeta :: Double -> Double |
49 | zeta = gsl_sf_zeta | 49 | zeta = gsl_sf_zeta |
50 | foreign import ccall SAFE_CHEAP "gsl_sf_zeta" gsl_sf_zeta :: Double -> Double | 50 | foreign import ccall unsafe "gsl_sf_zeta" gsl_sf_zeta :: Double -> Double |
51 | 51 | ||
52 | zetam1_e :: Double -> (Double,Double) | 52 | zetam1_e :: Double -> (Double,Double) |
53 | zetam1_e s = createSFR "zetam1_e" $ gsl_sf_zetam1_e s | 53 | zetam1_e s = createSFR "zetam1_e" $ gsl_sf_zetam1_e s |
54 | foreign import ccall SAFE_CHEAP "gsl_sf_zetam1_e" gsl_sf_zetam1_e :: Double -> Ptr () -> IO CInt | 54 | foreign import ccall unsafe "gsl_sf_zetam1_e" gsl_sf_zetam1_e :: Double -> Ptr () -> IO CInt |
55 | 55 | ||
56 | zetam1 :: Double -> Double | 56 | zetam1 :: Double -> Double |
57 | zetam1 = gsl_sf_zetam1 | 57 | zetam1 = gsl_sf_zetam1 |
58 | foreign import ccall SAFE_CHEAP "gsl_sf_zetam1" gsl_sf_zetam1 :: Double -> Double | 58 | foreign import ccall unsafe "gsl_sf_zetam1" gsl_sf_zetam1 :: Double -> Double |
59 | 59 | ||
60 | zetam1_int_e :: CInt -> (Double,Double) | 60 | zetam1_int_e :: CInt -> (Double,Double) |
61 | zetam1_int_e s = createSFR "zetam1_int_e" $ gsl_sf_zetam1_int_e s | 61 | zetam1_int_e s = createSFR "zetam1_int_e" $ gsl_sf_zetam1_int_e s |
62 | foreign import ccall SAFE_CHEAP "gsl_sf_zetam1_int_e" gsl_sf_zetam1_int_e :: CInt -> Ptr () -> IO CInt | 62 | foreign import ccall unsafe "gsl_sf_zetam1_int_e" gsl_sf_zetam1_int_e :: CInt -> Ptr () -> IO CInt |
63 | 63 | ||
64 | zetam1_int :: CInt -> Double | 64 | zetam1_int :: CInt -> Double |
65 | zetam1_int = gsl_sf_zetam1_int | 65 | zetam1_int = gsl_sf_zetam1_int |
66 | foreign import ccall SAFE_CHEAP "gsl_sf_zetam1_int" gsl_sf_zetam1_int :: CInt -> Double | 66 | foreign import ccall unsafe "gsl_sf_zetam1_int" gsl_sf_zetam1_int :: CInt -> Double |
67 | 67 | ||
68 | hzeta_e :: Double -> Double -> (Double,Double) | 68 | hzeta_e :: Double -> Double -> (Double,Double) |
69 | hzeta_e s q = createSFR "hzeta_e" $ gsl_sf_hzeta_e s q | 69 | hzeta_e s q = createSFR "hzeta_e" $ gsl_sf_hzeta_e s q |
70 | foreign import ccall SAFE_CHEAP "gsl_sf_hzeta_e" gsl_sf_hzeta_e :: Double -> Double -> Ptr () -> IO CInt | 70 | foreign import ccall unsafe "gsl_sf_hzeta_e" gsl_sf_hzeta_e :: Double -> Double -> Ptr () -> IO CInt |
71 | 71 | ||
72 | hzeta :: Double -> Double -> Double | 72 | hzeta :: Double -> Double -> Double |
73 | hzeta = gsl_sf_hzeta | 73 | hzeta = gsl_sf_hzeta |
74 | foreign import ccall SAFE_CHEAP "gsl_sf_hzeta" gsl_sf_hzeta :: Double -> Double -> Double | 74 | foreign import ccall unsafe "gsl_sf_hzeta" gsl_sf_hzeta :: Double -> Double -> Double |
75 | 75 | ||
76 | eta_int_e :: CInt -> (Double,Double) | 76 | eta_int_e :: CInt -> (Double,Double) |
77 | eta_int_e n = createSFR "eta_int_e" $ gsl_sf_eta_int_e n | 77 | eta_int_e n = createSFR "eta_int_e" $ gsl_sf_eta_int_e n |
78 | foreign import ccall SAFE_CHEAP "gsl_sf_eta_int_e" gsl_sf_eta_int_e :: CInt -> Ptr () -> IO CInt | 78 | foreign import ccall unsafe "gsl_sf_eta_int_e" gsl_sf_eta_int_e :: CInt -> Ptr () -> IO CInt |
79 | 79 | ||
80 | eta_int :: CInt -> Double | 80 | eta_int :: CInt -> Double |
81 | eta_int = gsl_sf_eta_int | 81 | eta_int = gsl_sf_eta_int |
82 | foreign import ccall SAFE_CHEAP "gsl_sf_eta_int" gsl_sf_eta_int :: CInt -> Double | 82 | foreign import ccall unsafe "gsl_sf_eta_int" gsl_sf_eta_int :: CInt -> Double |
83 | 83 | ||
84 | eta_e :: Double -> (Double,Double) | 84 | eta_e :: Double -> (Double,Double) |
85 | eta_e s = createSFR "eta_e" $ gsl_sf_eta_e s | 85 | eta_e s = createSFR "eta_e" $ gsl_sf_eta_e s |
86 | foreign import ccall SAFE_CHEAP "gsl_sf_eta_e" gsl_sf_eta_e :: Double -> Ptr () -> IO CInt | 86 | foreign import ccall unsafe "gsl_sf_eta_e" gsl_sf_eta_e :: Double -> Ptr () -> IO CInt |
87 | 87 | ||
88 | eta :: Double -> Double | 88 | eta :: Double -> Double |
89 | eta = gsl_sf_eta | 89 | eta = gsl_sf_eta |
90 | foreign import ccall SAFE_CHEAP "gsl_sf_eta" gsl_sf_eta :: Double -> Double | 90 | foreign import ccall unsafe "gsl_sf_eta" gsl_sf_eta :: Double -> Double |