#include <cinttypes>
#include <cmath>
#include <limits>
#include <sstream>
#include "lo-array-errwarn.h"
#include "lo-error.h"
Go to the source code of this file.
Functions | |
void | err_del_index_out_of_range (bool is1d, octave_idx_type idx, octave_idx_type ext) |
void | err_index_out_of_range (int nd, int dim, octave_idx_type idx, octave_idx_type ext, const dim_vector &dv) |
void | err_invalid_index (const std::string &idx, octave_idx_type nd, octave_idx_type dim, const std::string &) |
void | err_invalid_index (double n, octave_idx_type nd, octave_idx_type dim, const std::string &var) |
void | err_invalid_index (octave_idx_type n, octave_idx_type nd, octave_idx_type dim, const std::string &var) |
void | err_invalid_resize () |
void | err_nan_to_character_conversion () |
void | err_nan_to_logical_conversion () |
void | err_nonconformant (const char *op, const dim_vector &op1_dims, const dim_vector &op2_dims) |
void | err_nonconformant (const char *op, octave_idx_type op1_len, octave_idx_type op2_len) |
void | err_nonconformant (const char *op, octave_idx_type op1_nr, octave_idx_type op1_nc, octave_idx_type op2_nr, octave_idx_type op2_nc) |
void | warn_singular_matrix (double rcond) |
void err_del_index_out_of_range | ( | bool | is1d, |
octave_idx_type | idx, | ||
octave_idx_type | ext | ||
) |
Definition at line 111 of file lo-array-errwarn.cc.
Referenced by Array< T, Alloc >::delete_elements(), and Sparse< T, Alloc >::delete_elements().
void err_index_out_of_range | ( | int | nd, |
int | dim, | ||
octave_idx_type | idx, | ||
octave_idx_type | ext, | ||
const dim_vector & | dv | ||
) |
Definition at line 292 of file lo-array-errwarn.cc.
void err_invalid_index | ( | const std::string & | idx, |
octave_idx_type | nd, | ||
octave_idx_type | dim, | ||
const std::string & | var | ||
) |
Definition at line 211 of file lo-array-errwarn.cc.
Referenced by Array< T, Alloc >::checkelem(), compute_index(), convert_index(), err_invalid_index(), octave_base_value::index_vector(), and octave_sparse_matrix::index_vector().
void err_invalid_index | ( | double | n, |
octave_idx_type | nd, | ||
octave_idx_type | dim, | ||
const std::string & | var | ||
) |
Definition at line 227 of file lo-array-errwarn.cc.
References err_invalid_index(), floor(), isnan(), and n.
void err_invalid_index | ( | octave_idx_type | n, |
octave_idx_type | nd, | ||
octave_idx_type | dim, | ||
const std::string & | var | ||
) |
Definition at line 220 of file lo-array-errwarn.cc.
References err_invalid_index(), and n.
void err_invalid_resize | ( | ) |
Definition at line 299 of file lo-array-errwarn.cc.
Referenced by Array< T, Alloc >::resize(), Sparse< T, Alloc >::resize1(), Array< T, Alloc >::resize1(), and Array< T, Alloc >::resize2().
void err_nan_to_character_conversion | ( | ) |
void err_nan_to_logical_conversion | ( | ) |
Definition at line 57 of file lo-array-errwarn.cc.
Referenced by octave_complex_matrix::bool_array_value(), octave_float_complex_matrix::bool_array_value(), octave_float_matrix::bool_array_value(), octave_matrix::bool_array_value(), octave_sparse_matrix::bool_array_value(), octave_base_matrix< MT >::is_true(), ComplexNDArray::operator!(), SparseComplexMatrix::operator!(), NDArray::operator!(), SparseMatrix::operator!(), FloatComplexNDArray::operator!(), FloatNDArray::operator!(), octave_sparse_complex_matrix::sparse_bool_matrix_value(), and octave_sparse_matrix::sparse_bool_matrix_value().
void err_nonconformant | ( | const char * | op, |
const dim_vector & | op1_dims, | ||
const dim_vector & | op2_dims | ||
) |
Definition at line 97 of file lo-array-errwarn.cc.
void err_nonconformant | ( | const char * | op, |
octave_idx_type | op1_len, | ||
octave_idx_type | op2_len | ||
) |
Definition at line 71 of file lo-array-errwarn.cc.
Referenced by Array< T, Alloc >::assign(), binmap(), 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(), Fsylvester(), map_2_xldexp(), map_2_xldexp_sparse(), max(), min(), mx_div_conform(), mx_leftdiv_conform(), octinternal_do_mul_pm_sm(), octinternal_do_mul_sm_pm(), operator*(), ComplexColumnVector::operator+=(), ComplexDiagMatrix::operator+=(), ComplexMatrix::operator+=(), Matrix::operator+=(), FloatComplexColumnVector::operator+=(), FloatComplexDiagMatrix::operator+=(), FloatComplexMatrix::operator+=(), FloatMatrix::operator+=(), FloatComplexRowVector::operator+=(), ComplexRowVector::operator+=(), ComplexColumnVector::operator-=(), ComplexMatrix::operator-=(), Matrix::operator-=(), FloatComplexColumnVector::operator-=(), FloatComplexMatrix::operator-=(), FloatMatrix::operator-=(), FloatComplexRowVector::operator-=(), ComplexRowVector::operator-=(), plus_or_minus(), product(), quotient(), and xgemm().
void err_nonconformant | ( | const char * | op, |
octave_idx_type | op1_nr, | ||
octave_idx_type | op1_nc, | ||
octave_idx_type | op2_nr, | ||
octave_idx_type | op2_nc | ||
) |
Definition at line 83 of file lo-array-errwarn.cc.
void warn_singular_matrix | ( | double | rcond | ) |
Definition at line 307 of file lo-array-errwarn.cc.
Referenced by Finv().