#include <string>
#include "lo-array-gripes.h"
Go to the source code of this file.
Functions | |
OCTINTERP_API void | gripe_2_or_3_dim_plot (void) |
OCTINTERP_API void | gripe_data_conversion (const char *from, const char *to) |
OCTINTERP_API void | gripe_divide_by_zero (void) |
OCTINTERP_API void | gripe_empty_arg (const char *name, bool is_error) |
OCTINTERP_API void | gripe_implicit_conversion (const char *id, const char *from, const char *to) |
OCTINTERP_API void | gripe_implicit_conversion (const std::string &id, const std::string &from, const std::string &to) |
OCTINTERP_API void | gripe_indexed_cs_list (void) |
OCTINTERP_API void | gripe_invalid_conversion (const std::string &from, const std::string &to) |
OCTINTERP_API void | gripe_invalid_inquiry_subscript (void) |
OCTINTERP_API void | gripe_invalid_value_specified (const char *name) |
OCTINTERP_API void | gripe_library_execution_error (void) |
OCTINTERP_API void | gripe_logical_conversion (void) |
OCTINTERP_API void | gripe_nonbraced_cs_list_assignment (void) |
OCTINTERP_API void | gripe_nonconformant (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) |
OCTINTERP_API void | gripe_nonconformant (void) |
OCTINTERP_API void | gripe_not_implemented (const char *) |
OCTINTERP_API void | gripe_not_supported (const char *) |
OCTINTERP_API void | gripe_range_invalid (void) |
OCTINTERP_API void | gripe_square_matrix_required (const char *name) |
OCTINTERP_API void | gripe_string_invalid (void) |
OCTINTERP_API void | gripe_unrecognized_data_fmt (const char *warn_for) |
OCTINTERP_API void | gripe_unrecognized_float_fmt (void) |
OCTINTERP_API void | gripe_user_returned_invalid (const char *name) |
OCTINTERP_API void | gripe_user_supplied_eval (const char *name) |
OCTINTERP_API void | gripe_warn_complex_cmp (void) |
OCTINTERP_API void | gripe_wrong_type_arg (const char *name, const octave_value &tc, bool is_error=true) |
OCTINTERP_API void | gripe_wrong_type_arg (const char *name, const std::string &s, bool is_error=true) |
OCTINTERP_API void | gripe_wrong_type_arg (const char *name, const char *s, bool is_error=true) |
OCTINTERP_API void | gripe_wrong_type_arg (const std::string &name, const octave_value &tc, bool is_error=true) |
OCTINTERP_API void | gripe_wrong_type_arg_for_binary_op (const octave_value &op) |
OCTINTERP_API void | gripe_wrong_type_arg_for_unary_op (const octave_value &op) |
OCTINTERP_API void gripe_2_or_3_dim_plot | ( | void | ) |
Definition at line 128 of file gripes.cc.
References error().
Referenced by Cray_to_IEEE_big_double(), Cray_to_IEEE_big_float(), Cray_to_IEEE_little_double(), Cray_to_IEEE_little_float(), Cray_to_VAX_D_double(), Cray_to_VAX_D_float(), Cray_to_VAX_G_double(), Cray_to_VAX_G_float(), IEEE_big_double_to_VAX_D_double(), IEEE_big_double_to_VAX_G_double(), IEEE_big_float_to_VAX_D_float(), IEEE_big_float_to_VAX_G_float(), IEEE_little_double_to_VAX_D_double(), IEEE_little_double_to_VAX_G_double(), IEEE_little_float_to_VAX_D_float(), IEEE_little_float_to_VAX_G_float(), VAX_D_double_to_IEEE_big_double(), VAX_D_double_to_IEEE_little_double(), VAX_D_double_to_VAX_G_double(), VAX_D_float_to_IEEE_big_float(), VAX_D_float_to_IEEE_little_float(), VAX_D_float_to_VAX_G_float(), VAX_G_double_to_IEEE_big_double(), VAX_G_double_to_IEEE_little_double(), VAX_G_double_to_VAX_D_double(), VAX_G_float_to_IEEE_big_float(), VAX_G_float_to_IEEE_little_float(), and VAX_G_float_to_VAX_D_float().
OCTINTERP_API void gripe_divide_by_zero | ( | void | ) |
Definition at line 194 of file gripes.cc.
References warning_with_id().
Referenced by DEFBINOP(), and gripe_if_zero().
Definition at line 71 of file gripes.cc.
References error(), and warning().
Referenced by DEFUN_DLD().
OCTINTERP_API void gripe_implicit_conversion | ( | const char * | id, | |
const char * | from, | |||
const char * | to | |||
) |
Definition at line 179 of file gripes.cc.
References warning_with_id().
Referenced by octave_float_complex::array_value(), octave_complex::array_value(), octave_float_complex_matrix::char_array_value(), octave_sparse_complex_matrix::char_array_value(), octave_complex_matrix::char_array_value(), octave_sparse_matrix::complex_value(), octave_matrix::complex_value(), octave_range::complex_value(), octave_perm_matrix::complex_value(), octave_float_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_sparse_complex_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_char_matrix::complex_value(), octave_sparse_bool_matrix::complex_value(), octave_bool_matrix::complex_value(), octave_base_diag< DMT, MT >::complex_value(), octave_base_value::convert_to_str(), DEFCATOP(), octave_float_complex_diag_matrix::diag_matrix_value(), octave_complex_diag_matrix::diag_matrix_value(), octave_sparse_matrix::double_value(), octave_matrix::double_value(), octave_range::double_value(), octave_perm_matrix::double_value(), OCTAVE_VALUE_INT_MATRIX_T::double_value(), octave_float_matrix::double_value(), octave_float_complex_matrix::double_value(), octave_float_complex::double_value(), octave_sparse_complex_matrix::double_value(), octave_complex_matrix::double_value(), octave_complex::double_value(), octave_char_matrix::double_value(), octave_sparse_bool_matrix::double_value(), octave_bool_matrix::double_value(), octave_base_diag< DMT, MT >::double_value(), octave_float_complex::float_array_value(), octave_complex::float_array_value(), octave_matrix::float_complex_value(), octave_range::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_float_complex_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_base_diag< DMT, MT >::float_complex_value(), octave_float_complex_diag_matrix::float_diag_matrix_value(), octave_complex_diag_matrix::float_diag_matrix_value(), octave_float_complex_matrix::float_matrix_value(), octave_float_complex::float_matrix_value(), octave_complex_matrix::float_matrix_value(), octave_complex::float_matrix_value(), octave_matrix::float_value(), octave_range::float_value(), octave_perm_matrix::float_value(), OCTAVE_VALUE_INT_MATRIX_T::float_value(), octave_float_matrix::float_value(), octave_float_complex_matrix::float_value(), octave_float_complex::float_value(), octave_complex_matrix::float_value(), octave_complex::float_value(), octave_char_matrix::float_value(), octave_bool_matrix::float_value(), octave_base_diag< DMT, MT >::float_value(), make_vector_dims(), octave_float_complex_matrix::matrix_value(), octave_float_complex::matrix_value(), octave_sparse_complex_matrix::matrix_value(), octave_complex_matrix::matrix_value(), octave_complex::matrix_value(), octave_float_complex_matrix::sparse_matrix_value(), octave_sparse_complex_matrix::sparse_matrix_value(), and octave_complex_matrix::sparse_matrix_value().
OCTINTERP_API void gripe_implicit_conversion | ( | const std::string & | id, | |
const std::string & | from, | |||
const std::string & | to | |||
) |
Definition at line 185 of file gripes.cc.
References warning_with_id().
OCTINTERP_API void gripe_indexed_cs_list | ( | void | ) |
Definition at line 222 of file gripes.cc.
References error().
Referenced by tree_index_expression::lvalue(), tree_index_expression::rvalue(), octave_struct::subsasgn(), octave_cell::subsasgn(), octave_class::subsasgn_common(), and octave_cs_list::subsref().
OCTINTERP_API void gripe_invalid_conversion | ( | const std::string & | from, | |
const std::string & | to | |||
) |
Definition at line 98 of file gripes.cc.
References error().
Referenced by octave_sparse_matrix::complex_value(), octave_matrix::complex_value(), octave_range::complex_value(), octave_perm_matrix::complex_value(), octave_float_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_sparse_complex_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_char_matrix::complex_value(), octave_sparse_bool_matrix::complex_value(), octave_bool_matrix::complex_value(), octave_base_diag< DMT, MT >::complex_value(), octave_sparse_matrix::double_value(), octave_matrix::double_value(), octave_range::double_value(), octave_perm_matrix::double_value(), OCTAVE_VALUE_INT_MATRIX_T::double_value(), octave_float_matrix::double_value(), octave_float_complex_matrix::double_value(), octave_sparse_complex_matrix::double_value(), octave_complex_matrix::double_value(), octave_char_matrix::double_value(), octave_sparse_bool_matrix::double_value(), octave_bool_matrix::double_value(), octave_base_diag< DMT, MT >::double_value(), octave_matrix::float_complex_value(), octave_range::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_float_complex_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_base_diag< DMT, MT >::float_complex_value(), octave_matrix::float_value(), octave_range::float_value(), octave_perm_matrix::float_value(), OCTAVE_VALUE_INT_MATRIX_T::float_value(), octave_float_matrix::float_value(), octave_float_complex_matrix::float_value(), octave_complex_matrix::float_value(), octave_char_matrix::float_value(), octave_bool_matrix::float_value(), and octave_base_diag< DMT, MT >::float_value().
OCTINTERP_API void gripe_invalid_inquiry_subscript | ( | void | ) |
Definition at line 216 of file gripes.cc.
References error().
Referenced by tree_index_expression::lvalue(), and make_value_list().
OCTINTERP_API void gripe_invalid_value_specified | ( | const char * | name | ) |
OCTINTERP_API void gripe_library_execution_error | ( | void | ) |
Definition at line 207 of file gripes.cc.
References error(), error_state, and octave_exception_state.
Referenced by octave_value::assign(), do_binary_op(), do_cat_op(), octave_mex_function::do_multi_index_op(), octave_builtin::do_multi_index_op(), octave_value::do_non_const_unary_op(), do_unary_op(), and tree_evaluator::visit_statement().
OCTINTERP_API void gripe_logical_conversion | ( | void | ) |
Definition at line 200 of file gripes.cc.
References warning_with_id().
Referenced by octave_scalar::bool_array_value(), octave_sparse_matrix::bool_array_value(), octave_matrix::bool_array_value(), octave_range::bool_array_value(), OCTAVE_VALUE_INT_SCALAR_T::bool_array_value(), OCTAVE_VALUE_INT_MATRIX_T::bool_array_value(), octave_float_matrix::bool_array_value(), octave_float_complex_matrix::bool_array_value(), octave_float_complex::bool_array_value(), octave_float_scalar::bool_array_value(), octave_complex_matrix::bool_array_value(), octave_complex::bool_array_value(), octave_scalar::bool_value(), OCTAVE_VALUE_INT_SCALAR_T::bool_value(), octave_float_complex::bool_value(), octave_float_scalar::bool_value(), octave_complex::bool_value(), octave_sparse_matrix::sparse_bool_matrix_value(), and octave_sparse_complex_matrix::sparse_bool_matrix_value().
OCTINTERP_API void gripe_nonbraced_cs_list_assignment | ( | void | ) |
Definition at line 228 of file gripes.cc.
References error().
Referenced by tree_simple_assignment::rvalue1(), octave_struct::subsasgn(), and octave_cell::subsasgn().
OCTINTERP_API void gripe_nonconformant | ( | octave_idx_type | r1, | |
octave_idx_type | c1, | |||
octave_idx_type | r2, | |||
octave_idx_type | c2 | |||
) |
OCTINTERP_API void gripe_nonconformant | ( | void | ) |
Definition at line 58 of file gripes.cc.
References error().
Referenced by atan2(), binmap(), DEFUN_DLD(), do_add_dm_sm(), do_add_sm_dm(), do_mm_binary_op(), do_mm_inplace_op(), do_mul_dm_sm(), do_mul_sm_dm(), do_sub_dm_sm(), do_sub_sm_dm(), elem_xpow(), FloatGEPBALANCE::init(), FloatComplexGEPBALANCE::init(), GEPBALANCE::init(), ComplexGEPBALANCE::init(), max(), min(), mx_div_conform(), mx_leftdiv_conform(), octinternal_do_mul_pm_sm(), octinternal_do_mul_sm_pm(), operator*(), FloatMatrix::operator+=(), FloatComplexRowVector::operator+=(), FloatComplexMatrix::operator+=(), FloatComplexDiagMatrix::operator+=(), FloatComplexColumnVector::operator+=(), Matrix::operator+=(), ComplexRowVector::operator+=(), ComplexMatrix::operator+=(), ComplexDiagMatrix::operator+=(), ComplexColumnVector::operator+=(), FloatMatrix::operator-=(), FloatComplexRowVector::operator-=(), FloatComplexMatrix::operator-=(), FloatComplexColumnVector::operator-=(), Matrix::operator-=(), ComplexRowVector::operator-=(), ComplexMatrix::operator-=(), ComplexColumnVector::operator-=(), plus_or_minus(), product(), quotient(), and xgemm().
OCTINTERP_API void gripe_not_implemented | ( | const char * | ) |
OCTINTERP_API void gripe_not_supported | ( | const char * | ) |
OCTINTERP_API void gripe_range_invalid | ( | void | ) |
OCTINTERP_API void gripe_square_matrix_required | ( | const char * | name | ) |
OCTINTERP_API void gripe_string_invalid | ( | void | ) |
OCTINTERP_API void gripe_unrecognized_data_fmt | ( | const char * | warn_for | ) |
OCTINTERP_API void gripe_unrecognized_float_fmt | ( | void | ) |
Definition at line 116 of file gripes.cc.
References error().
Referenced by do_double_format_conversion(), and do_float_format_conversion().
OCTINTERP_API void gripe_user_returned_invalid | ( | const char * | name | ) |
OCTINTERP_API void gripe_user_supplied_eval | ( | const char * | name | ) |
Definition at line 86 of file gripes.cc.
References error().
Referenced by daspk_user_function(), daspk_user_jacobian(), dasrt_user_cf(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), eigs_complex_func(), eigs_func(), lsode_user_function(), lsode_user_jacobian(), quad_float_user_function(), and quad_user_function().
OCTINTERP_API void gripe_warn_complex_cmp | ( | void | ) |
Definition at line 234 of file gripes.cc.
References warning_with_id().
OCTINTERP_API void gripe_wrong_type_arg | ( | const char * | name, | |
const octave_value & | tc, | |||
bool | is_error = true | |||
) |
Definition at line 149 of file gripes.cc.
References gripe_wrong_type_arg(), and octave_value::type_name().
OCTINTERP_API void gripe_wrong_type_arg | ( | const char * | name, | |
const std::string & | s, | |||
bool | is_error = true | |||
) |
Definition at line 143 of file gripes.cc.
References gripe_wrong_type_arg().
Definition at line 134 of file gripes.cc.
References error(), and warning().
Referenced by octave_base_value::array_value(), octave_class::as_mxArray(), octave_base_value::bool_array_value(), octave_base_value::bool_matrix_value(), octave_base_value::bool_value(), octave_base_value::cell_value(), octave_base_value::cellstr_value(), octave_base_value::char_array_value(), octave_base_value::complex_array_value(), octave_base_value::complex_diag_matrix_value(), octave_base_value::complex_matrix_value(), octave_base_value::complex_value(), octave_base_value::convert_to_row_or_column_vector(), octave_base_value::convert_to_str_internal(), DEFUN(), DEFUN_DLD(), DEFUNX(), octave_base_value::diag(), octave_base_value::diag_matrix_value(), do_accumarray_minmax_fun(), do_cumminmax_body(), do_fft(), do_fft2(), do_fftn(), do_hypot(), do_minmax_body(), do_rand(), octave_base_value::double_value(), octave_base_value::fcn_handle_value(), octave_base_value::fcn_inline_value(), octave_base_value::float_array_value(), octave_base_value::float_complex_array_value(), octave_base_value::float_complex_diag_matrix_value(), octave_base_value::float_complex_matrix_value(), octave_base_value::float_complex_value(), octave_base_value::float_diag_matrix_value(), octave_base_value::float_matrix_value(), octave_base_value::float_value(), octave_base_value::full_value(), octave_base_value::function_value(), gripe_wrong_type_arg(), octave_base_value::int16_array_value(), octave_base_value::int16_scalar_value(), octave_base_value::int32_array_value(), octave_base_value::int32_scalar_value(), octave_base_value::int64_array_value(), octave_base_value::int64_scalar_value(), octave_base_value::int8_array_value(), octave_base_value::int8_scalar_value(), octave_base_value::is_sorted(), octave_base_value::is_sorted_rows(), octave_base_value::list_value(), octave_base_value::load_ascii(), octave_base_value::load_binary(), octave_base_value::lock(), octave_class::map_keys(), octave_base_value::map_keys(), octave_base_value::map_value(), octave_base_value::matrix_type(), octave_base_value::matrix_value(), octave_base_value::nfields(), octave_base_value::nint_value(), octave_base_value::nnz(), Cell::nnz(), octave_base_value::nparents(), octave_base_value::parent_class_name_list(), octave_base_value::parent_class_names(), octave_base_value::perm_matrix_value(), octave_base_value::permute(), octave_base_value::print(), octave_base_value::print_raw(), printf_value_cache::printf_value_cache(), octave_base_value::range_value(), octave_base_value::reshape(), octave_base_value::resize(), octave_base_value::save_ascii(), octave_base_value::save_binary(), save_mat5_binary_element(), save_mat_binary_data(), octave_base_value::sort(), octave_base_value::sort_rows_idx(), octave_base_value::sparse_bool_matrix_value(), octave_base_value::sparse_complex_matrix_value(), octave_base_value::sparse_matrix_value(), octave_base_value::uint16_array_value(), octave_base_value::uint16_scalar_value(), octave_base_value::uint32_array_value(), octave_base_value::uint32_scalar_value(), octave_base_value::uint64_array_value(), octave_base_value::uint64_scalar_value(), octave_base_value::uint8_array_value(), octave_base_value::uint8_scalar_value(), octave_base_value::unlock(), octave_base_value::user_code_value(), octave_base_value::user_function_value(), octave_base_value::user_script_value(), octave_base_value::write(), xcolnorms(), xfrobnorm(), xnorm(), and xrownorms().
OCTINTERP_API void gripe_wrong_type_arg | ( | const std::string & | name, | |
const octave_value & | tc, | |||
bool | is_error = true | |||
) |
Definition at line 158 of file gripes.cc.
References gripe_wrong_type_arg().
OCTINTERP_API void gripe_wrong_type_arg_for_binary_op | ( | const octave_value & | op | ) |
Definition at line 172 of file gripes.cc.
References error(), and octave_value::type_name().
OCTINTERP_API void gripe_wrong_type_arg_for_unary_op | ( | const octave_value & | op | ) |
Definition at line 165 of file gripes.cc.
References error(), and octave_value::type_name().