diff options
Diffstat (limited to 'lib/Numeric/GSL/Special/Log.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Log.hs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/Numeric/GSL/Special/Log.hs b/lib/Numeric/GSL/Special/Log.hs index ad8adaf..a57b67a 100644 --- a/lib/Numeric/GSL/Special/Log.hs +++ b/lib/Numeric/GSL/Special/Log.hs | |||
@@ -29,36 +29,36 @@ import Numeric.GSL.Special.Internal | |||
29 | 29 | ||
30 | log_e :: Double -> (Double,Double) | 30 | log_e :: Double -> (Double,Double) |
31 | log_e x = createSFR "log_e" $ gsl_sf_log_e x | 31 | log_e x = createSFR "log_e" $ gsl_sf_log_e x |
32 | foreign import ccall "gsl_sf_log_e" gsl_sf_log_e :: Double -> Ptr () -> IO CInt | 32 | foreign import ccall SAFE_CHEAP "gsl_sf_log_e" gsl_sf_log_e :: Double -> Ptr () -> IO CInt |
33 | 33 | ||
34 | log :: Double -> Double | 34 | log :: Double -> Double |
35 | log = gsl_sf_log | 35 | log = gsl_sf_log |
36 | foreign import ccall "gsl_sf_log" gsl_sf_log :: Double -> Double | 36 | foreign import ccall SAFE_CHEAP "gsl_sf_log" gsl_sf_log :: Double -> Double |
37 | 37 | ||
38 | log_abs_e :: Double -> (Double,Double) | 38 | log_abs_e :: Double -> (Double,Double) |
39 | log_abs_e x = createSFR "log_abs_e" $ gsl_sf_log_abs_e x | 39 | log_abs_e x = createSFR "log_abs_e" $ gsl_sf_log_abs_e x |
40 | foreign import ccall "gsl_sf_log_abs_e" gsl_sf_log_abs_e :: Double -> Ptr () -> IO CInt | 40 | foreign import ccall SAFE_CHEAP "gsl_sf_log_abs_e" gsl_sf_log_abs_e :: Double -> Ptr () -> IO CInt |
41 | 41 | ||
42 | log_abs :: Double -> Double | 42 | log_abs :: Double -> Double |
43 | log_abs = gsl_sf_log_abs | 43 | log_abs = gsl_sf_log_abs |
44 | foreign import ccall "gsl_sf_log_abs" gsl_sf_log_abs :: Double -> Double | 44 | foreign import ccall SAFE_CHEAP "gsl_sf_log_abs" gsl_sf_log_abs :: Double -> Double |
45 | 45 | ||
46 | complex_log_e :: Double -> Double -> Ptr () -> (Double,Double) | 46 | complex_log_e :: Double -> Double -> Ptr () -> (Double,Double) |
47 | complex_log_e zr zi lnr = createSFR "complex_log_e" $ gsl_sf_complex_log_e zr zi lnr | 47 | complex_log_e zr zi lnr = createSFR "complex_log_e" $ gsl_sf_complex_log_e zr zi lnr |
48 | foreign import ccall "gsl_sf_complex_log_e" gsl_sf_complex_log_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt | 48 | foreign import ccall SAFE_CHEAP "gsl_sf_complex_log_e" gsl_sf_complex_log_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt |
49 | 49 | ||
50 | log_1plusx_e :: Double -> (Double,Double) | 50 | log_1plusx_e :: Double -> (Double,Double) |
51 | log_1plusx_e x = createSFR "log_1plusx_e" $ gsl_sf_log_1plusx_e x | 51 | log_1plusx_e x = createSFR "log_1plusx_e" $ gsl_sf_log_1plusx_e x |
52 | foreign import ccall "gsl_sf_log_1plusx_e" gsl_sf_log_1plusx_e :: Double -> Ptr () -> IO CInt | 52 | foreign import ccall SAFE_CHEAP "gsl_sf_log_1plusx_e" gsl_sf_log_1plusx_e :: Double -> Ptr () -> IO CInt |
53 | 53 | ||
54 | log_1plusx :: Double -> Double | 54 | log_1plusx :: Double -> Double |
55 | log_1plusx = gsl_sf_log_1plusx | 55 | log_1plusx = gsl_sf_log_1plusx |
56 | foreign import ccall "gsl_sf_log_1plusx" gsl_sf_log_1plusx :: Double -> Double | 56 | foreign import ccall SAFE_CHEAP "gsl_sf_log_1plusx" gsl_sf_log_1plusx :: Double -> Double |
57 | 57 | ||
58 | log_1plusx_mx_e :: Double -> (Double,Double) | 58 | log_1plusx_mx_e :: Double -> (Double,Double) |
59 | log_1plusx_mx_e x = createSFR "log_1plusx_mx_e" $ gsl_sf_log_1plusx_mx_e x | 59 | log_1plusx_mx_e x = createSFR "log_1plusx_mx_e" $ gsl_sf_log_1plusx_mx_e x |
60 | foreign import ccall "gsl_sf_log_1plusx_mx_e" gsl_sf_log_1plusx_mx_e :: Double -> Ptr () -> IO CInt | 60 | foreign import ccall SAFE_CHEAP "gsl_sf_log_1plusx_mx_e" gsl_sf_log_1plusx_mx_e :: Double -> Ptr () -> IO CInt |
61 | 61 | ||
62 | log_1plusx_mx :: Double -> Double | 62 | log_1plusx_mx :: Double -> Double |
63 | log_1plusx_mx = gsl_sf_log_1plusx_mx | 63 | log_1plusx_mx = gsl_sf_log_1plusx_mx |
64 | foreign import ccall "gsl_sf_log_1plusx_mx" gsl_sf_log_1plusx_mx :: Double -> Double | 64 | foreign import ccall SAFE_CHEAP "gsl_sf_log_1plusx_mx" gsl_sf_log_1plusx_mx :: Double -> Double |