4 #if !defined (octave_Quad_options_h)
5 #define octave_Quad_options_h 1
18 : x_absolute_tolerance (),
19 x_relative_tolerance (),
20 x_single_precision_absolute_tolerance (),
21 x_single_precision_relative_tolerance (),
28 : x_absolute_tolerance (opt.x_absolute_tolerance),
29 x_relative_tolerance (opt.x_relative_tolerance),
30 x_single_precision_absolute_tolerance (opt.x_single_precision_absolute_tolerance),
31 x_single_precision_relative_tolerance (opt.x_single_precision_relative_tolerance),
53 x_absolute_tolerance = ::sqrt (std::numeric_limits<double>::epsilon ());
54 x_relative_tolerance = ::sqrt (std::numeric_limits<double>::epsilon ());
55 x_single_precision_absolute_tolerance = ::sqrt (std::numeric_limits<float>::epsilon ());
56 x_single_precision_relative_tolerance = ::sqrt (std::numeric_limits<float>::epsilon ());
72 { x_absolute_tolerance = val; reset =
true; }
75 { x_relative_tolerance = val; reset =
true; }
78 { x_single_precision_absolute_tolerance = val; reset =
true; }
81 { x_single_precision_relative_tolerance = val; reset =
true; }
83 {
return x_absolute_tolerance; }
86 {
return x_relative_tolerance; }
89 {
return x_single_precision_absolute_tolerance; }
92 {
return x_single_precision_relative_tolerance; }
void set_single_precision_relative_tolerance(float val)
float single_precision_absolute_tolerance(void) const
void set_relative_tolerance(double val)
void set_default_options(void)
void set_single_precision_absolute_tolerance(float val)
double x_relative_tolerance
float x_single_precision_relative_tolerance
double x_absolute_tolerance
float single_precision_relative_tolerance(void) const
void set_options(const Quad_options &opt)
void set_absolute_tolerance(double val)
double relative_tolerance(void) const
Quad_options(const Quad_options &opt)
float x_single_precision_absolute_tolerance
double absolute_tolerance(void) const