44 (*current_liboctave_error_handler)
45 (
"invalid conversion from NaN to logical");
51 (*current_liboctave_error_handler)
52 (
"invalid conversion from NaN to character");
61 (*current_liboctave_error_with_id_handler)
62 (err_id,
"%s: nonconformant arguments (op1 len: %d, op2 len: %d)",
63 op, op1_len, op2_len);
73 (*current_liboctave_error_with_id_handler)
74 (err_id,
"%s: nonconformant arguments (op1 is %dx%d, op2 is %dx%d)",
75 op, op1_nr, op1_nc, op2_nr, op2_nc);
84 std::string op1_dims_str = op1_dims.
str ();
85 std::string op2_dims_str = op2_dims.
str ();
87 (*current_liboctave_error_with_id_handler)
88 (err_id,
"%s: nonconformant arguments (op1 is %s, op2 is %s)",
89 op, op1_dims_str.c_str (), op2_dims_str.c_str ());
101 (*current_liboctave_error_with_id_handler)
102 (err_id,
"A(I): index out of bounds; value %d out of bound %d",
107 (*current_liboctave_error_with_id_handler)
108 (err_id,
"A(I,J): %s index out of bounds; value %d out of bound %d",
109 (dim == 1) ?
"row" :
"column", idx, ext);
113 (*current_liboctave_error_with_id_handler)
114 (err_id,
"A(I,J,...): index to dimension %d out of bounds; value %d out of bound %d",
126 (*current_liboctave_error_with_id_handler)
127 (err_id,
"A(%s) = []: index out of bounds; value %d out of bound %d",
128 is1d ?
"I" :
"..,I,..", idx, ext);
136 (*current_liboctave_error_with_id_handler)
137 #ifdef USE_64_BIT_IDX_T
138 (err_id,
"subscript indices must be either positive integers less than 2^63 or logicals");
140 (err_id,
"subscript indices must be either positive integers less than 2^31 or logicals");
154 (*current_liboctave_error_with_id_handler)
155 (
"Octave:invalid-resize",
156 "Invalid resizing operation or ambiguous assignment to an out-of-bounds array element");
162 (*current_liboctave_error_handler)
163 (
"A(I) = X: X must have the same size as I");
169 (*current_liboctave_error_handler)
170 (
"A(I,J,...) = X: dimensions mismatch");
178 (*current_liboctave_warning_with_id_handler)
180 "matrix singular to machine precision");
184 (*current_liboctave_warning_with_id_handler)
186 "matrix singular to machine precision, rcond = %g", rcond);
void gripe_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
std::string str(char sep= 'x') const
const char * warning_id_nearly_singular_matrix
void gripe_assignment_dimension_mismatch(void)
void gripe_invalid_index(void)
const char * error_id_nonconformant_args
void gripe_nan_to_logical_conversion(void)
void gripe_invalid_resize(void)
void gripe_nan_to_character_conversion(void)
void gripe_singular_matrix(double rcond)
const char * error_id_index_out_of_bounds
void gripe_invalid_assignment_size(void)
const char * error_id_invalid_index
void gripe_index_out_of_range(int nd, int dim, octave_idx_type idx, octave_idx_type ext)
void gripe_del_index_out_of_range(bool is1d, octave_idx_type idx, octave_idx_type ext)
const char * warning_id_singular_matrix