diff options
author | Alberto Ruiz <aruiz@um.es> | 2007-09-13 10:27:17 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2007-09-13 10:27:17 +0000 |
commit | 620d5008ea9a931a91907cd0c902bb64f005121f (patch) | |
tree | 7dd55acefdc49cbe1513fb0b1fbf60f954d3d364 /lib/GSL/Special/Erf.hs | |
parent | 0ff13d993b880739295de343bca62f06fac5ca0c (diff) |
automatic google search in the docs for the special functions
Diffstat (limited to 'lib/GSL/Special/Erf.hs')
-rw-r--r-- | lib/GSL/Special/Erf.hs | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/lib/GSL/Special/Erf.hs b/lib/GSL/Special/Erf.hs index 30b7817..6dc5abb 100644 --- a/lib/GSL/Special/Erf.hs +++ b/lib/GSL/Special/Erf.hs | |||
@@ -9,7 +9,7 @@ Portability : uses ffi | |||
9 | 9 | ||
10 | Wrappers for selected functions described at: | 10 | Wrappers for selected functions described at: |
11 | 11 | ||
12 | <http://www.gnu.org/software/gsl/manual/html_node/Error-Functions.html> | 12 | <http://www.google.com/search?q=gsl_sf_erf.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> |
13 | 13 | ||
14 | -} | 14 | -} |
15 | ------------------------------------------------------------ | 15 | ------------------------------------------------------------ |
@@ -33,61 +33,85 @@ import Foreign(Ptr) | |||
33 | import GSL.Special.Internal | 33 | import GSL.Special.Internal |
34 | 34 | ||
35 | -- | wrapper for int gsl_sf_erfc_e(double x,gsl_sf_result* result); | 35 | -- | wrapper for int gsl_sf_erfc_e(double x,gsl_sf_result* result); |
36 | -- | ||
37 | -- <http://www.google.com/search?q=gsl_sf_erfc_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
36 | erfc_e :: Double -> (Double,Double) | 38 | erfc_e :: Double -> (Double,Double) |
37 | erfc_e x = createSFR "erfc_e" $ gsl_sf_erfc_e x | 39 | erfc_e x = createSFR "erfc_e" $ gsl_sf_erfc_e x |
38 | foreign import ccall "erf.h gsl_sf_erfc_e" gsl_sf_erfc_e :: Double -> Ptr Double -> IO(Int) | 40 | foreign import ccall "erf.h gsl_sf_erfc_e" gsl_sf_erfc_e :: Double -> Ptr Double -> IO(Int) |
39 | 41 | ||
40 | -- | wrapper for double gsl_sf_erfc(double x); | 42 | -- | wrapper for double gsl_sf_erfc(double x); |
43 | -- | ||
44 | -- <http://www.google.com/search?q=gsl_sf_erfc&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
41 | erfc :: Double -> Double | 45 | erfc :: Double -> Double |
42 | erfc = gsl_sf_erfc | 46 | erfc = gsl_sf_erfc |
43 | foreign import ccall "erf.h gsl_sf_erfc" gsl_sf_erfc :: Double -> Double | 47 | foreign import ccall "erf.h gsl_sf_erfc" gsl_sf_erfc :: Double -> Double |
44 | 48 | ||
45 | -- | wrapper for int gsl_sf_log_erfc_e(double x,gsl_sf_result* result); | 49 | -- | wrapper for int gsl_sf_log_erfc_e(double x,gsl_sf_result* result); |
50 | -- | ||
51 | -- <http://www.google.com/search?q=gsl_sf_log_erfc_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
46 | log_erfc_e :: Double -> (Double,Double) | 52 | log_erfc_e :: Double -> (Double,Double) |
47 | log_erfc_e x = createSFR "log_erfc_e" $ gsl_sf_log_erfc_e x | 53 | log_erfc_e x = createSFR "log_erfc_e" $ gsl_sf_log_erfc_e x |
48 | foreign import ccall "erf.h gsl_sf_log_erfc_e" gsl_sf_log_erfc_e :: Double -> Ptr Double -> IO(Int) | 54 | foreign import ccall "erf.h gsl_sf_log_erfc_e" gsl_sf_log_erfc_e :: Double -> Ptr Double -> IO(Int) |
49 | 55 | ||
50 | -- | wrapper for double gsl_sf_log_erfc(double x); | 56 | -- | wrapper for double gsl_sf_log_erfc(double x); |
57 | -- | ||
58 | -- <http://www.google.com/search?q=gsl_sf_log_erfc&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
51 | log_erfc :: Double -> Double | 59 | log_erfc :: Double -> Double |
52 | log_erfc = gsl_sf_log_erfc | 60 | log_erfc = gsl_sf_log_erfc |
53 | foreign import ccall "erf.h gsl_sf_log_erfc" gsl_sf_log_erfc :: Double -> Double | 61 | foreign import ccall "erf.h gsl_sf_log_erfc" gsl_sf_log_erfc :: Double -> Double |
54 | 62 | ||
55 | -- | wrapper for int gsl_sf_erf_e(double x,gsl_sf_result* result); | 63 | -- | wrapper for int gsl_sf_erf_e(double x,gsl_sf_result* result); |
64 | -- | ||
65 | -- <http://www.google.com/search?q=gsl_sf_erf_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
56 | erf_e :: Double -> (Double,Double) | 66 | erf_e :: Double -> (Double,Double) |
57 | erf_e x = createSFR "erf_e" $ gsl_sf_erf_e x | 67 | erf_e x = createSFR "erf_e" $ gsl_sf_erf_e x |
58 | foreign import ccall "erf.h gsl_sf_erf_e" gsl_sf_erf_e :: Double -> Ptr Double -> IO(Int) | 68 | foreign import ccall "erf.h gsl_sf_erf_e" gsl_sf_erf_e :: Double -> Ptr Double -> IO(Int) |
59 | 69 | ||
60 | -- | wrapper for double gsl_sf_erf(double x); | 70 | -- | wrapper for double gsl_sf_erf(double x); |
71 | -- | ||
72 | -- <http://www.google.com/search?q=gsl_sf_erf&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
61 | erf :: Double -> Double | 73 | erf :: Double -> Double |
62 | erf = gsl_sf_erf | 74 | erf = gsl_sf_erf |
63 | foreign import ccall "erf.h gsl_sf_erf" gsl_sf_erf :: Double -> Double | 75 | foreign import ccall "erf.h gsl_sf_erf" gsl_sf_erf :: Double -> Double |
64 | 76 | ||
65 | -- | wrapper for int gsl_sf_erf_Z_e(double x,gsl_sf_result* result); | 77 | -- | wrapper for int gsl_sf_erf_Z_e(double x,gsl_sf_result* result); |
78 | -- | ||
79 | -- <http://www.google.com/search?q=gsl_sf_erf_Z_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
66 | erf_Z_e :: Double -> (Double,Double) | 80 | erf_Z_e :: Double -> (Double,Double) |
67 | erf_Z_e x = createSFR "erf_Z_e" $ gsl_sf_erf_Z_e x | 81 | erf_Z_e x = createSFR "erf_Z_e" $ gsl_sf_erf_Z_e x |
68 | foreign import ccall "erf.h gsl_sf_erf_Z_e" gsl_sf_erf_Z_e :: Double -> Ptr Double -> IO(Int) | 82 | foreign import ccall "erf.h gsl_sf_erf_Z_e" gsl_sf_erf_Z_e :: Double -> Ptr Double -> IO(Int) |
69 | 83 | ||
70 | -- | wrapper for int gsl_sf_erf_Q_e(double x,gsl_sf_result* result); | 84 | -- | wrapper for int gsl_sf_erf_Q_e(double x,gsl_sf_result* result); |
85 | -- | ||
86 | -- <http://www.google.com/search?q=gsl_sf_erf_Q_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
71 | erf_Q_e :: Double -> (Double,Double) | 87 | erf_Q_e :: Double -> (Double,Double) |
72 | erf_Q_e x = createSFR "erf_Q_e" $ gsl_sf_erf_Q_e x | 88 | erf_Q_e x = createSFR "erf_Q_e" $ gsl_sf_erf_Q_e x |
73 | foreign import ccall "erf.h gsl_sf_erf_Q_e" gsl_sf_erf_Q_e :: Double -> Ptr Double -> IO(Int) | 89 | foreign import ccall "erf.h gsl_sf_erf_Q_e" gsl_sf_erf_Q_e :: Double -> Ptr Double -> IO(Int) |
74 | 90 | ||
75 | -- | wrapper for double gsl_sf_erf_Z(double x); | 91 | -- | wrapper for double gsl_sf_erf_Z(double x); |
92 | -- | ||
93 | -- <http://www.google.com/search?q=gsl_sf_erf_Z&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
76 | erf_Z :: Double -> Double | 94 | erf_Z :: Double -> Double |
77 | erf_Z = gsl_sf_erf_Z | 95 | erf_Z = gsl_sf_erf_Z |
78 | foreign import ccall "erf.h gsl_sf_erf_Z" gsl_sf_erf_Z :: Double -> Double | 96 | foreign import ccall "erf.h gsl_sf_erf_Z" gsl_sf_erf_Z :: Double -> Double |
79 | 97 | ||
80 | -- | wrapper for double gsl_sf_erf_Q(double x); | 98 | -- | wrapper for double gsl_sf_erf_Q(double x); |
99 | -- | ||
100 | -- <http://www.google.com/search?q=gsl_sf_erf_Q&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
81 | erf_Q :: Double -> Double | 101 | erf_Q :: Double -> Double |
82 | erf_Q = gsl_sf_erf_Q | 102 | erf_Q = gsl_sf_erf_Q |
83 | foreign import ccall "erf.h gsl_sf_erf_Q" gsl_sf_erf_Q :: Double -> Double | 103 | foreign import ccall "erf.h gsl_sf_erf_Q" gsl_sf_erf_Q :: Double -> Double |
84 | 104 | ||
85 | -- | wrapper for int gsl_sf_hazard_e(double x,gsl_sf_result* result); | 105 | -- | wrapper for int gsl_sf_hazard_e(double x,gsl_sf_result* result); |
106 | -- | ||
107 | -- <http://www.google.com/search?q=gsl_sf_hazard_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
86 | hazard_e :: Double -> (Double,Double) | 108 | hazard_e :: Double -> (Double,Double) |
87 | hazard_e x = createSFR "hazard_e" $ gsl_sf_hazard_e x | 109 | hazard_e x = createSFR "hazard_e" $ gsl_sf_hazard_e x |
88 | foreign import ccall "erf.h gsl_sf_hazard_e" gsl_sf_hazard_e :: Double -> Ptr Double -> IO(Int) | 110 | foreign import ccall "erf.h gsl_sf_hazard_e" gsl_sf_hazard_e :: Double -> Ptr Double -> IO(Int) |
89 | 111 | ||
90 | -- | wrapper for double gsl_sf_hazard(double x); | 112 | -- | wrapper for double gsl_sf_hazard(double x); |
113 | -- | ||
114 | -- <http://www.google.com/search?q=gsl_sf_hazard&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
91 | hazard :: Double -> Double | 115 | hazard :: Double -> Double |
92 | hazard = gsl_sf_hazard | 116 | hazard = gsl_sf_hazard |
93 | foreign import ccall "erf.h gsl_sf_hazard" gsl_sf_hazard :: Double -> Double | 117 | foreign import ccall "erf.h gsl_sf_hazard" gsl_sf_hazard :: Double -> Double |