summaryrefslogtreecommitdiff
path: root/packages/special/lib/Numeric/GSL/Special/Debye.hs
blob: 27b25e25c3703b4e829d39c987aa3931dd38a3d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
------------------------------------------------------------
-- |
-- Module      :  Numeric.GSL.Special.Debye
-- Copyright   :  (c) Alberto Ruiz 2006-11
-- License     :  GPL
-- Maintainer  :  Alberto Ruiz (aruiz at um dot es)
-- Stability   :  provisional
-- Portability :  uses ffi
--
-- Wrappers for selected functions described at:
--
-- <http://www.google.com/search?q=gsl_sf_debye.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
------------------------------------------------------------

module Numeric.GSL.Special.Debye(
  debye_1_e
, debye_1
, debye_2_e
, debye_2
, debye_3_e
, debye_3
, debye_4_e
, debye_4
, debye_5_e
, debye_5
, debye_6_e
, debye_6
) where

import Foreign(Ptr)
import Foreign.C.Types
import Numeric.GSL.Special.Internal

debye_1_e :: Double -> (Double,Double)
debye_1_e x = createSFR "debye_1_e" $ gsl_sf_debye_1_e x
foreign import ccall unsafe "gsl_sf_debye_1_e" gsl_sf_debye_1_e :: Double -> Ptr () -> IO CInt

debye_1 :: Double -> Double
debye_1 = gsl_sf_debye_1
foreign import ccall unsafe "gsl_sf_debye_1" gsl_sf_debye_1 :: Double -> Double

debye_2_e :: Double -> (Double,Double)
debye_2_e x = createSFR "debye_2_e" $ gsl_sf_debye_2_e x
foreign import ccall unsafe "gsl_sf_debye_2_e" gsl_sf_debye_2_e :: Double -> Ptr () -> IO CInt

debye_2 :: Double -> Double
debye_2 = gsl_sf_debye_2
foreign import ccall unsafe "gsl_sf_debye_2" gsl_sf_debye_2 :: Double -> Double

debye_3_e :: Double -> (Double,Double)
debye_3_e x = createSFR "debye_3_e" $ gsl_sf_debye_3_e x
foreign import ccall unsafe "gsl_sf_debye_3_e" gsl_sf_debye_3_e :: Double -> Ptr () -> IO CInt

debye_3 :: Double -> Double
debye_3 = gsl_sf_debye_3
foreign import ccall unsafe "gsl_sf_debye_3" gsl_sf_debye_3 :: Double -> Double

debye_4_e :: Double -> (Double,Double)
debye_4_e x = createSFR "debye_4_e" $ gsl_sf_debye_4_e x
foreign import ccall unsafe "gsl_sf_debye_4_e" gsl_sf_debye_4_e :: Double -> Ptr () -> IO CInt

debye_4 :: Double -> Double
debye_4 = gsl_sf_debye_4
foreign import ccall unsafe "gsl_sf_debye_4" gsl_sf_debye_4 :: Double -> Double

debye_5_e :: Double -> (Double,Double)
debye_5_e x = createSFR "debye_5_e" $ gsl_sf_debye_5_e x
foreign import ccall unsafe "gsl_sf_debye_5_e" gsl_sf_debye_5_e :: Double -> Ptr () -> IO CInt

debye_5 :: Double -> Double
debye_5 = gsl_sf_debye_5
foreign import ccall unsafe "gsl_sf_debye_5" gsl_sf_debye_5 :: Double -> Double

debye_6_e :: Double -> (Double,Double)
debye_6_e x = createSFR "debye_6_e" $ gsl_sf_debye_6_e x
foreign import ccall unsafe "gsl_sf_debye_6_e" gsl_sf_debye_6_e :: Double -> Ptr () -> IO CInt

debye_6 :: Double -> Double
debye_6 = gsl_sf_debye_6
foreign import ccall unsafe "gsl_sf_debye_6" gsl_sf_debye_6 :: Double -> Double