diff options
author | Alberto Ruiz <aruiz@um.es> | 2012-03-13 11:21:21 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2012-03-13 11:21:21 +0100 |
commit | 9c4a8a37291f902312215452d0bdd9ad95408ae9 (patch) | |
tree | 72d468cfa9999dc079466f250883dfb131d016ba /packages/special/lib/Numeric/GSL/Special/Psi.hs | |
parent | 6f6455593c0490e4710854b08fc63a2d0993dcac (diff) | |
parent | 032fe19ddfa6e4cfba33f76aaa13043b54568fcf (diff) |
Merge remote-tracking branch 'wowus/master' into unsafe
Diffstat (limited to 'packages/special/lib/Numeric/GSL/Special/Psi.hs')
-rw-r--r-- | packages/special/lib/Numeric/GSL/Special/Psi.hs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/packages/special/lib/Numeric/GSL/Special/Psi.hs b/packages/special/lib/Numeric/GSL/Special/Psi.hs index da53d1b..2aede62 100644 --- a/packages/special/lib/Numeric/GSL/Special/Psi.hs +++ b/packages/special/lib/Numeric/GSL/Special/Psi.hs | |||
@@ -34,52 +34,52 @@ import Numeric.GSL.Special.Internal | |||
34 | 34 | ||
35 | psi_int_e :: CInt -> (Double,Double) | 35 | psi_int_e :: CInt -> (Double,Double) |
36 | psi_int_e n = createSFR "psi_int_e" $ gsl_sf_psi_int_e n | 36 | psi_int_e n = createSFR "psi_int_e" $ gsl_sf_psi_int_e n |
37 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_int_e" gsl_sf_psi_int_e :: CInt -> Ptr () -> IO CInt | 37 | foreign import ccall unsafe "gsl_sf_psi_int_e" gsl_sf_psi_int_e :: CInt -> Ptr () -> IO CInt |
38 | 38 | ||
39 | psi_int :: CInt -> Double | 39 | psi_int :: CInt -> Double |
40 | psi_int = gsl_sf_psi_int | 40 | psi_int = gsl_sf_psi_int |
41 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_int" gsl_sf_psi_int :: CInt -> Double | 41 | foreign import ccall unsafe "gsl_sf_psi_int" gsl_sf_psi_int :: CInt -> Double |
42 | 42 | ||
43 | psi_e :: Double -> (Double,Double) | 43 | psi_e :: Double -> (Double,Double) |
44 | psi_e x = createSFR "psi_e" $ gsl_sf_psi_e x | 44 | psi_e x = createSFR "psi_e" $ gsl_sf_psi_e x |
45 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_e" gsl_sf_psi_e :: Double -> Ptr () -> IO CInt | 45 | foreign import ccall unsafe "gsl_sf_psi_e" gsl_sf_psi_e :: Double -> Ptr () -> IO CInt |
46 | 46 | ||
47 | psi :: Double -> Double | 47 | psi :: Double -> Double |
48 | psi = gsl_sf_psi | 48 | psi = gsl_sf_psi |
49 | foreign import ccall SAFE_CHEAP "gsl_sf_psi" gsl_sf_psi :: Double -> Double | 49 | foreign import ccall unsafe "gsl_sf_psi" gsl_sf_psi :: Double -> Double |
50 | 50 | ||
51 | psi_1piy_e :: Double -> (Double,Double) | 51 | psi_1piy_e :: Double -> (Double,Double) |
52 | psi_1piy_e y = createSFR "psi_1piy_e" $ gsl_sf_psi_1piy_e y | 52 | psi_1piy_e y = createSFR "psi_1piy_e" $ gsl_sf_psi_1piy_e y |
53 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1piy_e" gsl_sf_psi_1piy_e :: Double -> Ptr () -> IO CInt | 53 | foreign import ccall unsafe "gsl_sf_psi_1piy_e" gsl_sf_psi_1piy_e :: Double -> Ptr () -> IO CInt |
54 | 54 | ||
55 | psi_1piy :: Double -> Double | 55 | psi_1piy :: Double -> Double |
56 | psi_1piy = gsl_sf_psi_1piy | 56 | psi_1piy = gsl_sf_psi_1piy |
57 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1piy" gsl_sf_psi_1piy :: Double -> Double | 57 | foreign import ccall unsafe "gsl_sf_psi_1piy" gsl_sf_psi_1piy :: Double -> Double |
58 | 58 | ||
59 | complex_psi_e :: Double -> Double -> ((Double,Double),(Double,Double)) | 59 | complex_psi_e :: Double -> Double -> ((Double,Double),(Double,Double)) |
60 | complex_psi_e x y = create2SFR "complex_psi_e" $ gsl_sf_complex_psi_e x y | 60 | complex_psi_e x y = create2SFR "complex_psi_e" $ gsl_sf_complex_psi_e x y |
61 | foreign import ccall SAFE_CHEAP "gsl_sf_complex_psi_e" gsl_sf_complex_psi_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt | 61 | foreign import ccall unsafe "gsl_sf_complex_psi_e" gsl_sf_complex_psi_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt |
62 | 62 | ||
63 | psi_1_int_e :: CInt -> (Double,Double) | 63 | psi_1_int_e :: CInt -> (Double,Double) |
64 | psi_1_int_e n = createSFR "psi_1_int_e" $ gsl_sf_psi_1_int_e n | 64 | psi_1_int_e n = createSFR "psi_1_int_e" $ gsl_sf_psi_1_int_e n |
65 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1_int_e" gsl_sf_psi_1_int_e :: CInt -> Ptr () -> IO CInt | 65 | foreign import ccall unsafe "gsl_sf_psi_1_int_e" gsl_sf_psi_1_int_e :: CInt -> Ptr () -> IO CInt |
66 | 66 | ||
67 | psi_1_int :: CInt -> Double | 67 | psi_1_int :: CInt -> Double |
68 | psi_1_int = gsl_sf_psi_1_int | 68 | psi_1_int = gsl_sf_psi_1_int |
69 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1_int" gsl_sf_psi_1_int :: CInt -> Double | 69 | foreign import ccall unsafe "gsl_sf_psi_1_int" gsl_sf_psi_1_int :: CInt -> Double |
70 | 70 | ||
71 | psi_1_e :: Double -> (Double,Double) | 71 | psi_1_e :: Double -> (Double,Double) |
72 | psi_1_e x = createSFR "psi_1_e" $ gsl_sf_psi_1_e x | 72 | psi_1_e x = createSFR "psi_1_e" $ gsl_sf_psi_1_e x |
73 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1_e" gsl_sf_psi_1_e :: Double -> Ptr () -> IO CInt | 73 | foreign import ccall unsafe "gsl_sf_psi_1_e" gsl_sf_psi_1_e :: Double -> Ptr () -> IO CInt |
74 | 74 | ||
75 | psi_1 :: Double -> Double | 75 | psi_1 :: Double -> Double |
76 | psi_1 = gsl_sf_psi_1 | 76 | psi_1 = gsl_sf_psi_1 |
77 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1" gsl_sf_psi_1 :: Double -> Double | 77 | foreign import ccall unsafe "gsl_sf_psi_1" gsl_sf_psi_1 :: Double -> Double |
78 | 78 | ||
79 | psi_n_e :: CInt -> Double -> (Double,Double) | 79 | psi_n_e :: CInt -> Double -> (Double,Double) |
80 | psi_n_e n x = createSFR "psi_n_e" $ gsl_sf_psi_n_e n x | 80 | psi_n_e n x = createSFR "psi_n_e" $ gsl_sf_psi_n_e n x |
81 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_n_e" gsl_sf_psi_n_e :: CInt -> Double -> Ptr () -> IO CInt | 81 | foreign import ccall unsafe "gsl_sf_psi_n_e" gsl_sf_psi_n_e :: CInt -> Double -> Ptr () -> IO CInt |
82 | 82 | ||
83 | psi_n :: CInt -> Double -> Double | 83 | psi_n :: CInt -> Double -> Double |
84 | psi_n = gsl_sf_psi_n | 84 | psi_n = gsl_sf_psi_n |
85 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_n" gsl_sf_psi_n :: CInt -> Double -> Double | 85 | foreign import ccall unsafe "gsl_sf_psi_n" gsl_sf_psi_n :: CInt -> Double -> Double |