diff options
Diffstat (limited to 'packages/special/lib/Numeric/GSL/Special/Dilog.hs')
-rw-r--r-- | packages/special/lib/Numeric/GSL/Special/Dilog.hs | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/packages/special/lib/Numeric/GSL/Special/Dilog.hs b/packages/special/lib/Numeric/GSL/Special/Dilog.hs index 48b548b..6aa58c4 100644 --- a/packages/special/lib/Numeric/GSL/Special/Dilog.hs +++ b/packages/special/lib/Numeric/GSL/Special/Dilog.hs | |||
@@ -15,6 +15,9 @@ | |||
15 | module Numeric.GSL.Special.Dilog( | 15 | module Numeric.GSL.Special.Dilog( |
16 | dilog_e | 16 | dilog_e |
17 | , dilog | 17 | , dilog |
18 | , complex_dilog_xy_e | ||
19 | , complex_dilog_e | ||
20 | , complex_spence_xy_e | ||
18 | ) where | 21 | ) where |
19 | 22 | ||
20 | import Foreign(Ptr) | 23 | import Foreign(Ptr) |
@@ -29,14 +32,14 @@ dilog :: Double -> Double | |||
29 | dilog = gsl_sf_dilog | 32 | dilog = gsl_sf_dilog |
30 | foreign import ccall SAFE_CHEAP "gsl_sf_dilog" gsl_sf_dilog :: Double -> Double | 33 | foreign import ccall SAFE_CHEAP "gsl_sf_dilog" gsl_sf_dilog :: Double -> Double |
31 | 34 | ||
32 | complex_dilog_xy_e :: Double -> Double -> Ptr () -> (Double,Double) | 35 | complex_dilog_xy_e :: Double -> Double -> ((Double,Double),(Double,Double)) |
33 | complex_dilog_xy_e x y result_re = createSFR "complex_dilog_xy_e" $ gsl_sf_complex_dilog_xy_e x y result_re | 36 | complex_dilog_xy_e x y = create2SFR "complex_dilog_xy_e" $ gsl_sf_complex_dilog_xy_e x y |
34 | foreign import ccall SAFE_CHEAP "gsl_sf_complex_dilog_xy_e" gsl_sf_complex_dilog_xy_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt | 37 | foreign import ccall SAFE_CHEAP "gsl_sf_complex_dilog_xy_e" gsl_sf_complex_dilog_xy_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt |
35 | 38 | ||
36 | complex_dilog_e :: Double -> Double -> Ptr () -> (Double,Double) | 39 | complex_dilog_e :: Double -> Double -> ((Double,Double),(Double,Double)) |
37 | complex_dilog_e r theta result_re = createSFR "complex_dilog_e" $ gsl_sf_complex_dilog_e r theta result_re | 40 | complex_dilog_e r theta = create2SFR "complex_dilog_e" $ gsl_sf_complex_dilog_e r theta |
38 | foreign import ccall SAFE_CHEAP "gsl_sf_complex_dilog_e" gsl_sf_complex_dilog_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt | 41 | foreign import ccall SAFE_CHEAP "gsl_sf_complex_dilog_e" gsl_sf_complex_dilog_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt |
39 | 42 | ||
40 | complex_spence_xy_e :: Double -> Double -> Ptr () -> (Double,Double) | 43 | complex_spence_xy_e :: Double -> Double -> ((Double,Double),(Double,Double)) |
41 | complex_spence_xy_e x y real_sp = createSFR "complex_spence_xy_e" $ gsl_sf_complex_spence_xy_e x y real_sp | 44 | complex_spence_xy_e x y = create2SFR "complex_spence_xy_e" $ gsl_sf_complex_spence_xy_e x y |
42 | foreign import ccall SAFE_CHEAP "gsl_sf_complex_spence_xy_e" gsl_sf_complex_spence_xy_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt | 45 | foreign import ccall SAFE_CHEAP "gsl_sf_complex_spence_xy_e" gsl_sf_complex_spence_xy_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt |