diff options
author | Alberto Ruiz <aruiz@um.es> | 2010-02-20 13:14:04 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2010-02-20 13:14:04 +0000 |
commit | bbf07a5b76cf196007adcfe2bfc954440843ce2f (patch) | |
tree | 5c3162567bfdd6761b2217641f49dd9ef5480aae /lib/Numeric/GSL/Special/Erf.hs | |
parent | 7f94a70d57d44c1b0d63226684c008edde2678c9 (diff) |
safe-cheap flag
Diffstat (limited to 'lib/Numeric/GSL/Special/Erf.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Erf.hs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/Numeric/GSL/Special/Erf.hs b/lib/Numeric/GSL/Special/Erf.hs index 34ade6f..258afd3 100644 --- a/lib/Numeric/GSL/Special/Erf.hs +++ b/lib/Numeric/GSL/Special/Erf.hs | |||
@@ -33,48 +33,48 @@ import Numeric.GSL.Special.Internal | |||
33 | 33 | ||
34 | erfc_e :: Double -> (Double,Double) | 34 | erfc_e :: Double -> (Double,Double) |
35 | erfc_e x = createSFR "erfc_e" $ gsl_sf_erfc_e x | 35 | erfc_e x = createSFR "erfc_e" $ gsl_sf_erfc_e x |
36 | foreign import ccall "gsl_sf_erfc_e" gsl_sf_erfc_e :: Double -> Ptr () -> IO CInt | 36 | foreign import ccall SAFE_CHEAP "gsl_sf_erfc_e" gsl_sf_erfc_e :: Double -> Ptr () -> IO CInt |
37 | 37 | ||
38 | erfc :: Double -> Double | 38 | erfc :: Double -> Double |
39 | erfc = gsl_sf_erfc | 39 | erfc = gsl_sf_erfc |
40 | foreign import ccall "gsl_sf_erfc" gsl_sf_erfc :: Double -> Double | 40 | foreign import ccall SAFE_CHEAP "gsl_sf_erfc" gsl_sf_erfc :: Double -> Double |
41 | 41 | ||
42 | log_erfc_e :: Double -> (Double,Double) | 42 | log_erfc_e :: Double -> (Double,Double) |
43 | log_erfc_e x = createSFR "log_erfc_e" $ gsl_sf_log_erfc_e x | 43 | log_erfc_e x = createSFR "log_erfc_e" $ gsl_sf_log_erfc_e x |
44 | foreign import ccall "gsl_sf_log_erfc_e" gsl_sf_log_erfc_e :: Double -> Ptr () -> IO CInt | 44 | foreign import ccall SAFE_CHEAP "gsl_sf_log_erfc_e" gsl_sf_log_erfc_e :: Double -> Ptr () -> IO CInt |
45 | 45 | ||
46 | log_erfc :: Double -> Double | 46 | log_erfc :: Double -> Double |
47 | log_erfc = gsl_sf_log_erfc | 47 | log_erfc = gsl_sf_log_erfc |
48 | foreign import ccall "gsl_sf_log_erfc" gsl_sf_log_erfc :: Double -> Double | 48 | foreign import ccall SAFE_CHEAP "gsl_sf_log_erfc" gsl_sf_log_erfc :: Double -> Double |
49 | 49 | ||
50 | erf_e :: Double -> (Double,Double) | 50 | erf_e :: Double -> (Double,Double) |
51 | erf_e x = createSFR "erf_e" $ gsl_sf_erf_e x | 51 | erf_e x = createSFR "erf_e" $ gsl_sf_erf_e x |
52 | foreign import ccall "gsl_sf_erf_e" gsl_sf_erf_e :: Double -> Ptr () -> IO CInt | 52 | foreign import ccall SAFE_CHEAP "gsl_sf_erf_e" gsl_sf_erf_e :: Double -> Ptr () -> IO CInt |
53 | 53 | ||
54 | erf :: Double -> Double | 54 | erf :: Double -> Double |
55 | erf = gsl_sf_erf | 55 | erf = gsl_sf_erf |
56 | foreign import ccall "gsl_sf_erf" gsl_sf_erf :: Double -> Double | 56 | foreign import ccall SAFE_CHEAP "gsl_sf_erf" gsl_sf_erf :: Double -> Double |
57 | 57 | ||
58 | erf_Z_e :: Double -> (Double,Double) | 58 | erf_Z_e :: Double -> (Double,Double) |
59 | erf_Z_e x = createSFR "erf_Z_e" $ gsl_sf_erf_Z_e x | 59 | erf_Z_e x = createSFR "erf_Z_e" $ gsl_sf_erf_Z_e x |
60 | foreign import ccall "gsl_sf_erf_Z_e" gsl_sf_erf_Z_e :: Double -> Ptr () -> IO CInt | 60 | foreign import ccall SAFE_CHEAP "gsl_sf_erf_Z_e" gsl_sf_erf_Z_e :: Double -> Ptr () -> IO CInt |
61 | 61 | ||
62 | erf_Q_e :: Double -> (Double,Double) | 62 | erf_Q_e :: Double -> (Double,Double) |
63 | erf_Q_e x = createSFR "erf_Q_e" $ gsl_sf_erf_Q_e x | 63 | erf_Q_e x = createSFR "erf_Q_e" $ gsl_sf_erf_Q_e x |
64 | foreign import ccall "gsl_sf_erf_Q_e" gsl_sf_erf_Q_e :: Double -> Ptr () -> IO CInt | 64 | foreign import ccall SAFE_CHEAP "gsl_sf_erf_Q_e" gsl_sf_erf_Q_e :: Double -> Ptr () -> IO CInt |
65 | 65 | ||
66 | erf_Z :: Double -> Double | 66 | erf_Z :: Double -> Double |
67 | erf_Z = gsl_sf_erf_Z | 67 | erf_Z = gsl_sf_erf_Z |
68 | foreign import ccall "gsl_sf_erf_Z" gsl_sf_erf_Z :: Double -> Double | 68 | foreign import ccall SAFE_CHEAP "gsl_sf_erf_Z" gsl_sf_erf_Z :: Double -> Double |
69 | 69 | ||
70 | erf_Q :: Double -> Double | 70 | erf_Q :: Double -> Double |
71 | erf_Q = gsl_sf_erf_Q | 71 | erf_Q = gsl_sf_erf_Q |
72 | foreign import ccall "gsl_sf_erf_Q" gsl_sf_erf_Q :: Double -> Double | 72 | foreign import ccall SAFE_CHEAP "gsl_sf_erf_Q" gsl_sf_erf_Q :: Double -> Double |
73 | 73 | ||
74 | hazard_e :: Double -> (Double,Double) | 74 | hazard_e :: Double -> (Double,Double) |
75 | hazard_e x = createSFR "hazard_e" $ gsl_sf_hazard_e x | 75 | hazard_e x = createSFR "hazard_e" $ gsl_sf_hazard_e x |
76 | foreign import ccall "gsl_sf_hazard_e" gsl_sf_hazard_e :: Double -> Ptr () -> IO CInt | 76 | foreign import ccall SAFE_CHEAP "gsl_sf_hazard_e" gsl_sf_hazard_e :: Double -> Ptr () -> IO CInt |
77 | 77 | ||
78 | hazard :: Double -> Double | 78 | hazard :: Double -> Double |
79 | hazard = gsl_sf_hazard | 79 | hazard = gsl_sf_hazard |
80 | foreign import ccall "gsl_sf_hazard" gsl_sf_hazard :: Double -> Double | 80 | foreign import ccall SAFE_CHEAP "gsl_sf_hazard" gsl_sf_hazard :: Double -> Double |