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/Psi.hs | |
parent | 7f94a70d57d44c1b0d63226684c008edde2678c9 (diff) |
safe-cheap flag
Diffstat (limited to 'lib/Numeric/GSL/Special/Psi.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Psi.hs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/Numeric/GSL/Special/Psi.hs b/lib/Numeric/GSL/Special/Psi.hs index 06c1da0..4655b8c 100644 --- a/lib/Numeric/GSL/Special/Psi.hs +++ b/lib/Numeric/GSL/Special/Psi.hs | |||
@@ -33,52 +33,52 @@ import Numeric.GSL.Special.Internal | |||
33 | 33 | ||
34 | psi_int_e :: CInt -> (Double,Double) | 34 | psi_int_e :: CInt -> (Double,Double) |
35 | psi_int_e n = createSFR "psi_int_e" $ gsl_sf_psi_int_e n | 35 | psi_int_e n = createSFR "psi_int_e" $ gsl_sf_psi_int_e n |
36 | foreign import ccall "gsl_sf_psi_int_e" gsl_sf_psi_int_e :: CInt -> Ptr () -> IO CInt | 36 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_int_e" gsl_sf_psi_int_e :: CInt -> Ptr () -> IO CInt |
37 | 37 | ||
38 | psi_int :: CInt -> Double | 38 | psi_int :: CInt -> Double |
39 | psi_int = gsl_sf_psi_int | 39 | psi_int = gsl_sf_psi_int |
40 | foreign import ccall "gsl_sf_psi_int" gsl_sf_psi_int :: CInt -> Double | 40 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_int" gsl_sf_psi_int :: CInt -> Double |
41 | 41 | ||
42 | psi_e :: Double -> (Double,Double) | 42 | psi_e :: Double -> (Double,Double) |
43 | psi_e x = createSFR "psi_e" $ gsl_sf_psi_e x | 43 | psi_e x = createSFR "psi_e" $ gsl_sf_psi_e x |
44 | foreign import ccall "gsl_sf_psi_e" gsl_sf_psi_e :: Double -> Ptr () -> IO CInt | 44 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_e" gsl_sf_psi_e :: Double -> Ptr () -> IO CInt |
45 | 45 | ||
46 | psi :: Double -> Double | 46 | psi :: Double -> Double |
47 | psi = gsl_sf_psi | 47 | psi = gsl_sf_psi |
48 | foreign import ccall "gsl_sf_psi" gsl_sf_psi :: Double -> Double | 48 | foreign import ccall SAFE_CHEAP "gsl_sf_psi" gsl_sf_psi :: Double -> Double |
49 | 49 | ||
50 | psi_1piy_e :: Double -> (Double,Double) | 50 | psi_1piy_e :: Double -> (Double,Double) |
51 | psi_1piy_e y = createSFR "psi_1piy_e" $ gsl_sf_psi_1piy_e y | 51 | psi_1piy_e y = createSFR "psi_1piy_e" $ gsl_sf_psi_1piy_e y |
52 | foreign import ccall "gsl_sf_psi_1piy_e" gsl_sf_psi_1piy_e :: Double -> Ptr () -> IO CInt | 52 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1piy_e" gsl_sf_psi_1piy_e :: Double -> Ptr () -> IO CInt |
53 | 53 | ||
54 | psi_1piy :: Double -> Double | 54 | psi_1piy :: Double -> Double |
55 | psi_1piy = gsl_sf_psi_1piy | 55 | psi_1piy = gsl_sf_psi_1piy |
56 | foreign import ccall "gsl_sf_psi_1piy" gsl_sf_psi_1piy :: Double -> Double | 56 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1piy" gsl_sf_psi_1piy :: Double -> Double |
57 | 57 | ||
58 | complex_psi_e :: Double -> Double -> Ptr () -> (Double,Double) | 58 | complex_psi_e :: Double -> Double -> Ptr () -> (Double,Double) |
59 | complex_psi_e x y result_re = createSFR "complex_psi_e" $ gsl_sf_complex_psi_e x y result_re | 59 | complex_psi_e x y result_re = createSFR "complex_psi_e" $ gsl_sf_complex_psi_e x y result_re |
60 | foreign import ccall "gsl_sf_complex_psi_e" gsl_sf_complex_psi_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt | 60 | foreign import ccall SAFE_CHEAP "gsl_sf_complex_psi_e" gsl_sf_complex_psi_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt |
61 | 61 | ||
62 | psi_1_int_e :: CInt -> (Double,Double) | 62 | psi_1_int_e :: CInt -> (Double,Double) |
63 | psi_1_int_e n = createSFR "psi_1_int_e" $ gsl_sf_psi_1_int_e n | 63 | psi_1_int_e n = createSFR "psi_1_int_e" $ gsl_sf_psi_1_int_e n |
64 | foreign import ccall "gsl_sf_psi_1_int_e" gsl_sf_psi_1_int_e :: CInt -> Ptr () -> IO CInt | 64 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1_int_e" gsl_sf_psi_1_int_e :: CInt -> Ptr () -> IO CInt |
65 | 65 | ||
66 | psi_1_int :: CInt -> Double | 66 | psi_1_int :: CInt -> Double |
67 | psi_1_int = gsl_sf_psi_1_int | 67 | psi_1_int = gsl_sf_psi_1_int |
68 | foreign import ccall "gsl_sf_psi_1_int" gsl_sf_psi_1_int :: CInt -> Double | 68 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1_int" gsl_sf_psi_1_int :: CInt -> Double |
69 | 69 | ||
70 | psi_1_e :: Double -> (Double,Double) | 70 | psi_1_e :: Double -> (Double,Double) |
71 | psi_1_e x = createSFR "psi_1_e" $ gsl_sf_psi_1_e x | 71 | psi_1_e x = createSFR "psi_1_e" $ gsl_sf_psi_1_e x |
72 | foreign import ccall "gsl_sf_psi_1_e" gsl_sf_psi_1_e :: Double -> Ptr () -> IO CInt | 72 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1_e" gsl_sf_psi_1_e :: Double -> Ptr () -> IO CInt |
73 | 73 | ||
74 | psi_1 :: Double -> Double | 74 | psi_1 :: Double -> Double |
75 | psi_1 = gsl_sf_psi_1 | 75 | psi_1 = gsl_sf_psi_1 |
76 | foreign import ccall "gsl_sf_psi_1" gsl_sf_psi_1 :: Double -> Double | 76 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1" gsl_sf_psi_1 :: Double -> Double |
77 | 77 | ||
78 | psi_n_e :: CInt -> Double -> (Double,Double) | 78 | psi_n_e :: CInt -> Double -> (Double,Double) |
79 | psi_n_e n x = createSFR "psi_n_e" $ gsl_sf_psi_n_e n x | 79 | psi_n_e n x = createSFR "psi_n_e" $ gsl_sf_psi_n_e n x |
80 | foreign import ccall "gsl_sf_psi_n_e" gsl_sf_psi_n_e :: CInt -> Double -> Ptr () -> IO CInt | 80 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_n_e" gsl_sf_psi_n_e :: CInt -> Double -> Ptr () -> IO CInt |
81 | 81 | ||
82 | psi_n :: CInt -> Double -> Double | 82 | psi_n :: CInt -> Double -> Double |
83 | psi_n = gsl_sf_psi_n | 83 | psi_n = gsl_sf_psi_n |
84 | foreign import ccall "gsl_sf_psi_n" gsl_sf_psi_n :: CInt -> Double -> Double | 84 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_n" gsl_sf_psi_n :: CInt -> Double -> Double |