diff options
author | Alberto Ruiz <aruiz@um.es> | 2010-10-20 07:19:06 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2010-10-20 07:19:06 +0000 |
commit | 7cfba6b4eb311590986a888255cd1dc594bd7264 (patch) | |
tree | b01b83260b9d959cd8b32fe4021553bb1aadc8d4 /packages/special/lib/Numeric/GSL/Special/Psi.hs | |
parent | ceb049de0898a2cc58fac8191a049e65bad7a2f6 (diff) |
mkComplex_e and other complex special functions
Diffstat (limited to 'packages/special/lib/Numeric/GSL/Special/Psi.hs')
-rw-r--r-- | packages/special/lib/Numeric/GSL/Special/Psi.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/special/lib/Numeric/GSL/Special/Psi.hs b/packages/special/lib/Numeric/GSL/Special/Psi.hs index 4655b8c..cb4c756 100644 --- a/packages/special/lib/Numeric/GSL/Special/Psi.hs +++ b/packages/special/lib/Numeric/GSL/Special/Psi.hs | |||
@@ -19,6 +19,7 @@ module Numeric.GSL.Special.Psi( | |||
19 | , psi | 19 | , psi |
20 | , psi_1piy_e | 20 | , psi_1piy_e |
21 | , psi_1piy | 21 | , psi_1piy |
22 | , complex_psi_e | ||
22 | , psi_1_int_e | 23 | , psi_1_int_e |
23 | , psi_1_int | 24 | , psi_1_int |
24 | , psi_1_e | 25 | , psi_1_e |
@@ -55,8 +56,8 @@ psi_1piy :: Double -> Double | |||
55 | psi_1piy = gsl_sf_psi_1piy | 56 | psi_1piy = gsl_sf_psi_1piy |
56 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1piy" gsl_sf_psi_1piy :: Double -> Double | 57 | foreign import ccall SAFE_CHEAP "gsl_sf_psi_1piy" gsl_sf_psi_1piy :: Double -> Double |
57 | 58 | ||
58 | complex_psi_e :: Double -> Double -> Ptr () -> (Double,Double) | 59 | complex_psi_e :: Double -> Double -> ((Double,Double),(Double,Double)) |
59 | complex_psi_e x y result_re = createSFR "complex_psi_e" $ gsl_sf_complex_psi_e x y result_re | 60 | complex_psi_e x y = create2SFR "complex_psi_e" $ gsl_sf_complex_psi_e x y |
60 | 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 SAFE_CHEAP "gsl_sf_complex_psi_e" gsl_sf_complex_psi_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt |
61 | 62 | ||
62 | psi_1_int_e :: CInt -> (Double,Double) | 63 | psi_1_int_e :: CInt -> (Double,Double) |