26 #if defined (HAVE_CONFIG_H)
43 error (
"plot: can only plot in 2 or 3 dimensions");
49 error (
"unable to convert from %s to %s format", from, to);
54 const std::string& pkg )
57 error (
"%s: support for %s was unavailable or disabled when %s was built",
58 fcn.c_str (), feature.c_str (), pkg.c_str ());
60 error (
"support for %s was unavailable or disabled when %s was built",
61 feature.c_str (), pkg.c_str ());
67 error (
"a cs-list cannot be further indexed");
73 error (
"invalid conversion from %s to %s", from.c_str (), to.c_str ());
79 error (
"invalid dimension inquiry of a non-existent value");
85 error (
"invalid dot name structure assignment because the structure array is empty. Specify a subscript on the structure array to resolve.");
91 error (
"invalid assignment to cs-list outside multiple assignment");
97 error (
"nonconformant matrices");
104 error (
"nonconformant matrices (op1 is %" OCTAVE_IDX_TYPE_FORMAT
105 "x%" OCTAVE_IDX_TYPE_FORMAT
", op2 is %" OCTAVE_IDX_TYPE_FORMAT
106 "x%" OCTAVE_IDX_TYPE_FORMAT
")", r1, c1, r2, c2);
112 error (
"%s: not implemented", fcn);
118 error (
"range constant used in invalid context");
124 error (
"%s: %s must be a square matrix", fcn, name);
130 error (
"std::string constant used in invalid context");
136 error (
"%s: unrecognized data format requested", name);
142 error (
"unrecognized floating point format requested");
148 error (
"%s: user-supplied function returned invalid value", name);
154 octave::execution_exception ee;
162 error (ee,
"%s: evaluation of user-supplied function failed", name);
168 octave::execution_exception ee;
175 const char *name,
const char *s)
177 error (ee,
"%s: wrong type argument '%s'", name, s);
183 octave::execution_exception ee;
190 const char *name,
const std::string& s)
198 octave::execution_exception ee;
215 octave::execution_exception ee;
230 octave::execution_exception ee;
238 error (ee,
"wrong type argument '%s'", s);
244 octave::execution_exception ee;
258 octave::execution_exception ee;
275 error (
"invalid operand '%s' for binary operator", type.c_str ());
282 error (
"invalid operand '%s' for unary operator", type.c_str ());
289 "Using an object of size %s as "
290 "a boolean value implies all().",
306 "comparing complex numbers is not supported in Matlab");
313 "%s: '%s' found by searching load path",
314 fcn.c_str (), file.c_str ());
319 const std::string& pkg )
322 warning (
"%s: support for %s was unavailable or disabled when %s was built",
323 fcn.c_str (), feature.c_str (), pkg.c_str ());
325 warning (
"support for %s was unavailable or disabled when %s was built",
326 feature.c_str (), pkg.c_str ());
332 warning (
"%s: argument is empty matrix", name);
339 "'%s' object indexed with empty index list",
351 const std::string& from,
const std::string& to)
354 "implicit conversion from %s to %s",
355 from.c_str (), to.c_str ());
361 warning (
"invalid value specified for '%s'", name);
368 "value not equal to 1 or 0 converted to logical 1");
376 warning (
"%s: wrong type argument '%s'", name, type.c_str ());
Vector representing the dimensions (size) of an Array.
std::string str(char sep='x') const
std::string type_name() const
void warning(const char *fmt,...)
void warning_with_id(const char *id, const char *fmt,...)
void() error(const char *fmt,...)
void err_unrecognized_data_fmt(const char *name)
void err_wrong_type_arg_for_unary_op(const octave_value &op)
void err_square_matrix_required(const char *fcn, const char *name)
void err_data_conversion(const char *from, const char *to)
void err_2_or_3_dim_plot()
void err_disabled_feature(const std::string &fcn, const std::string &feature, const std::string &pkg)
void warn_empty_index(const std::string &type_name)
void err_unrecognized_float_fmt()
void warn_wrong_type_arg(const char *name, const octave_value &tc)
void err_wrong_type_arg_for_binary_op(const octave_value &op)
void err_wrong_type_arg(const char *name, const char *s)
void warn_invalid_value_specified(const char *name)
void err_user_supplied_eval(const char *name)
void warn_array_as_logical(const dim_vector &dv)
void err_invalid_conversion(const std::string &from, const std::string &to)
void warn_logical_conversion()
void err_not_implemented(const char *fcn)
void err_invalid_structure_assignment()
void err_indexed_cs_list()
void err_invalid_inquiry_subscript()
void err_user_returned_invalid(const char *name)
void warn_empty_arg(const char *name)
void err_nonbraced_cs_list_assignment()
void warn_implicit_conversion(const char *id, const char *from, const char *to)
void warn_disabled_feature(const std::string &fcn, const std::string &feature, const std::string &pkg)
void warn_data_file_in_path(const std::string &fcn, const std::string &file)
void err_string_invalid()