Refactor BLAS and Eigen tests
[Math-GSL.git] / Machine.i
blob7a51665c562c4bdbbb2a4d076472da3cd47fb7ce
1 %module "Math::GSL::Machine"
2 %{
3 #include "gsl/gsl_machine.h"
4 %}
6 %include "gsl/gsl_machine.h"
9 %perlcode %{
10 @EXPORT_OK = qw/
11 $GSL_DBL_EPSILON
12 $GSL_SQRT_DBL_EPSILON
13 $GSL_ROOT3_DBL_EPSILON
14 $GSL_ROOT4_DBL_EPSILON
15 $GSL_ROOT5_DBL_EPSILON
16 $GSL_ROOT6_DBL_EPSILON
17 $GSL_LOG_DBL_EPSILON
18 $GSL_DBL_MIN
19 $GSL_SQRT_DBL_MIN
20 $GSL_ROOT3_DBL_MIN
21 $GSL_ROOT4_DBL_MIN
22 $GSL_ROOT5_DBL_MIN
23 $GSL_ROOT6_DBL_MIN
24 $GSL_LOG_DBL_MIN
25 $GSL_DBL_MAX
26 $GSL_SQRT_DBL_MAX
27 $GSL_ROOT3_DBL_MAX
28 $GSL_ROOT4_DBL_MAX
29 $GSL_ROOT5_DBL_MAX
30 $GSL_ROOT6_DBL_MAX
31 $GSL_LOG_DBL_MAX
32 $GSL_FLT_EPSILON
33 $GSL_SQRT_FLT_EPSILON
34 $GSL_ROOT3_FLT_EPSILON
35 $GSL_ROOT4_FLT_EPSILON
36 $GSL_ROOT5_FLT_EPSILON
37 $GSL_ROOT6_FLT_EPSILON
38 $GSL_LOG_FLT_EPSILON
39 $GSL_FLT_MIN
40 $GSL_SQRT_FLT_MIN
41 $GSL_ROOT3_FLT_MIN
42 $GSL_ROOT4_FLT_MIN
43 $GSL_ROOT5_FLT_MIN
44 $GSL_ROOT6_FLT_MIN
45 $GSL_LOG_FLT_MIN
46 $GSL_FLT_MAX
47 $GSL_SQRT_FLT_MAX
48 $GSL_ROOT3_FLT_MAX
49 $GSL_ROOT4_FLT_MAX
50 $GSL_ROOT5_FLT_MAX
51 $GSL_ROOT6_FLT_MAX
52 $GSL_LOG_FLT_MAX
53 $GSL_SFLT_EPSILON
54 $GSL_SQRT_SFLT_EPSILON
55 $GSL_ROOT3_SFLT_EPSILON
56 $GSL_ROOT4_SFLT_EPSILON
57 $GSL_ROOT5_SFLT_EPSILON
58 $GSL_ROOT6_SFLT_EPSILON
59 $GSL_LOG_SFLT_EPSILON
60 $GSL_MACH_EPS
61 $GSL_SQRT_MACH_EPS
62 $GSL_ROOT3_MACH_EPS
63 $GSL_ROOT4_MACH_EPS
64 $GSL_ROOT5_MACH_EPS
65 $GSL_ROOT6_MACH_EPS
66 $GSL_LOG_MACH_EPS
68 %EXPORT_TAGS = ( all => [ @EXPORT_OK ] );
69 __END__
71 =head1 NAME
73 Math::GSL::Machine - Machine constants
75 =head1 SYNOPSIS
77 use Math::GSL::Machine qw/:all/;
78 print "The GSL_DBL_EPSILON Constant is $GSL_DBL_EPSILON\n";
80 Here is a list of all the constants included in this module :
82 =over
84 =item * $GSL_DBL_EPSILON
86 =item * $GSL_SQRT_DBL_EPSILON
88 =item * $GSL_ROOT3_DBL_EPSILON
90 =item * $GSL_ROOT4_DBL_EPSILON
92 =item * $GSL_ROOT5_DBL_EPSILON
94 =item * $GSL_ROOT6_DBL_EPSILON
96 =item * $GSL_LOG_DBL_EPSILON
98 =item * $GSL_DBL_MIN
100 =item * $GSL_SQRT_DBL_MIN
102 =item * $GSL_ROOT3_DBL_MIN
104 =item * $GSL_ROOT4_DBL_MIN
106 =item * $GSL_ROOT5_DBL_MIN
108 =item * $GSL_ROOT6_DBL_MIN
110 =item * $GSL_LOG_DBL_MIN
112 =item * $GSL_DBL_MAX
114 =item * $GSL_SQRT_DBL_MAX
116 =item * $GSL_ROOT3_DBL_MAX
118 =item * $GSL_ROOT4_DBL_MAX
120 =item * $GSL_ROOT5_DBL_MAX
122 =item * $GSL_ROOT6_DBL_MAX
124 =item * $GSL_LOG_DBL_MAX
126 =item * $GSL_FLT_EPSILON
128 =item * $GSL_SQRT_FLT_EPSILON
130 =item * $GSL_ROOT3_FLT_EPSILON
132 =item * $GSL_ROOT4_FLT_EPSILON
134 =item * $GSL_ROOT5_FLT_EPSILON
136 =item * $GSL_ROOT6_FLT_EPSILON
138 =item * $GSL_LOG_FLT_EPSILON
140 =item * $GSL_FLT_MIN
142 =item * $GSL_SQRT_FLT_MIN
144 =item * $GSL_ROOT3_FLT_MIN
146 =item * $GSL_ROOT4_FLT_MIN
148 =item * $GSL_ROOT5_FLT_MIN
150 =item * $GSL_ROOT6_FLT_MIN
152 =item * $GSL_LOG_FLT_MIN
154 =item * $GSL_FLT_MAX
156 =item * $GSL_SQRT_FLT_MAX
158 =item * $GSL_ROOT3_FLT_MAX
160 =item * $GSL_ROOT4_FLT_MAX
162 =item * $GSL_ROOT5_FLT_MAX
164 =item * $GSL_ROOT6_FLT_MAX
166 =item * $GSL_LOG_FLT_MAX
168 =item * $GSL_SFLT_EPSILON
170 =item * $GSL_SQRT_SFLT_EPSILON
172 =item * $GSL_ROOT3_SFLT_EPSILON
174 =item * $GSL_ROOT4_SFLT_EPSILON
176 =item * $GSL_ROOT5_SFLT_EPSILON
178 =item * $GSL_ROOT6_SFLT_EPSILON
180 =item * $GSL_LOG_SFLT_EPSILON
182 =item * $GSL_MACH_EPS
184 =item * $GSL_SQRT_MACH_EPS
186 =item * $GSL_ROOT3_MACH_EPS
188 =item * $GSL_ROOT4_MACH_EPS
190 =item * $GSL_ROOT5_MACH_EPS
192 =item * $GSL_ROOT6_MACH_EPS
194 =item * $GSL_LOG_MACH_EPS
196 =back
198 =head1 AUTHORS
200 Jonathan Leto <jonathan@leto.net> and Thierry Moisan <thierry.moisan@gmail.com>
202 =head1 COPYRIGHT AND LICENSE
204 Copyright (C) 2008 Jonathan Leto and Thierry Moisan
206 This program is free software; you can redistribute it and/or modify it
207 under the same terms as Perl itself.
209 =cut