36 {
"absolute tolerance",
37 {
"absolute",
"tolerance", 0, 0, 0, },
38 { 1, 0, 0, 0, 0, }, 1, },
40 {
"relative tolerance",
41 {
"relative",
"tolerance", 0, 0, 0, },
42 { 1, 0, 0, 0, 0, }, 1, },
44 {
"single precision absolute tolerance",
45 {
"single",
"precision",
"absolute",
"tolerance", 0, },
46 { 1, 1, 1, 0, 0, }, 3, },
48 {
"single precision relative tolerance",
49 {
"single",
"precision",
"relative",
"tolerance", 0, },
50 { 1, 1, 1, 0, 0, }, 3, },
56 std::ostringstream buf;
59 <<
"Options for Quad include:\n\n"
61 <<
" ------- -----\n";
122 keyword, list[0].min_toks_to_match,
MAX_TOKENS))
129 keyword, list[1].min_toks_to_match,
MAX_TOKENS))
136 keyword, list[2].min_toks_to_match,
MAX_TOKENS))
143 keyword, list[3].min_toks_to_match,
MAX_TOKENS))
151 warning (
"quad_options: no match for `%s'", keyword.c_str ());
163 keyword, list[0].min_toks_to_match,
MAX_TOKENS))
170 keyword, list[1].min_toks_to_match,
MAX_TOKENS))
177 keyword, list[2].min_toks_to_match,
MAX_TOKENS))
184 keyword, list[3].min_toks_to_match,
MAX_TOKENS))
192 warning (
"quad_options: no match for `%s'", keyword.c_str ());
248 std::string keyword =
args(0).xstring_value (
"quad_options: expecting keyword as first argument");
void set_single_precision_relative_tolerance(float val)
The value of lines which begin with a space character are not saved in the history list A value of all commands are saved on the history list
OCTINTERP_API void print_usage(void)
float single_precision_absolute_tolerance(void) const
void set_relative_tolerance(double val)
identity matrix If supplied two scalar respectively For allows like xample val
static Quad_options_struct Quad_options_table[]
static octave_value_list show_Quad_options(const std::string &keyword)
#define DEFUN(name, args_name, nargout_name, doc)
float float_value(bool frc_str_conv=false) const
static Quad_options quad_opts
static void print_Quad_options(std::ostream &os)
void set_single_precision_absolute_tolerance(float val)
static void set_Quad_options(const std::string &keyword, const octave_value &val)
float single_precision_relative_tolerance(void) const
int keyword_almost_match(const char *const *std, int *min_len, const std::string &s, int min_toks_to_match, int max_toks)
void warning(const char *fmt,...)
void set_absolute_tolerance(double val)
double relative_tolerance(void) const
double absolute_tolerance(void) const
double double_value(bool frc_str_conv=false) const
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string