#include "lo-array-gripes.h"
#include "lo-error.h"
Go to the source code of this file.
Functions | |
void | gripe_assignment_dimension_mismatch (void) |
void | gripe_del_index_out_of_range (bool is1d, octave_idx_type idx, octave_idx_type ext) |
void | gripe_index_out_of_range (int nd, int dim, octave_idx_type idx, octave_idx_type ext) |
void | gripe_invalid_assignment_size (void) |
void | gripe_invalid_index (void) |
void | gripe_invalid_resize (void) |
void | gripe_nan_to_character_conversion (void) |
void | gripe_nan_to_logical_conversion (void) |
void | gripe_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 | gripe_nonconformant (const char *op, octave_idx_type op1_len, octave_idx_type op2_len) |
void | gripe_nonconformant (const char *op, const dim_vector &op1_dims, const dim_vector &op2_dims) |
Variables | |
const char * | error_id_index_out_of_bounds = "Octave:index-out-of-bounds" |
const char * | error_id_invalid_index = "Octave:invalid-index" |
const char * | error_id_nonconformant_args = "Octave:nonconformant-args" |
void gripe_assignment_dimension_mismatch | ( | void | ) |
Definition at line 159 of file lo-array-gripes.cc.
Referenced by Sparse< T >::assign(), and Array< T >::assign().
void gripe_del_index_out_of_range | ( | bool | is1d, | |
octave_idx_type | idx, | |||
octave_idx_type | ext | |||
) |
Definition at line 117 of file lo-array-gripes.cc.
Referenced by Sparse< T >::delete_elements(), and Array< T >::delete_elements().
void gripe_index_out_of_range | ( | int | nd, | |
int | dim, | |||
octave_idx_type | idx, | |||
octave_idx_type | ext | |||
) |
Definition at line 89 of file lo-array-gripes.cc.
void gripe_invalid_assignment_size | ( | void | ) |
Definition at line 152 of file lo-array-gripes.cc.
Referenced by Sparse< T >::assign(), and Array< T >::assign().
void gripe_invalid_index | ( | void | ) |
Definition at line 128 of file lo-array-gripes.cc.
Referenced by idx_vector::idx_mask_rep::checkelem(), idx_vector::idx_vector_rep::checkelem(), Array< T >::checkelem(), compute_index(), idx_vector::idx_range_rep::idx_range_rep(), idx_vector::idx_scalar_rep::idx_scalar_rep(), and idx_vector::idx_vector_rep::idx_vector_rep().
void gripe_invalid_resize | ( | void | ) |
Definition at line 144 of file lo-array-gripes.cc.
Referenced by Array< T >::resize(), Sparse< T >::resize1(), Array< T >::resize1(), and Array< T >::resize2().
void gripe_nan_to_character_conversion | ( | void | ) |
void gripe_nan_to_logical_conversion | ( | void | ) |
Definition at line 38 of file lo-array-gripes.cc.
Referenced by octave_scalar::bool_array_value(), octave_sparse_matrix::bool_array_value(), octave_matrix::bool_array_value(), octave_range::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_float_complex::bool_value(), octave_float_scalar::bool_value(), octave_complex::bool_value(), DEFUNOP(), octave_base_scalar< ST >::is_true(), octave_base_matrix< MT >::is_true(), FloatNDArray::operator!(), FloatMatrix::operator!(), FloatComplexNDArray::operator!(), FloatComplexMatrix::operator!(), SparseMatrix::operator!(), NDArray::operator!(), Matrix::operator!(), SparseComplexMatrix::operator!(), ComplexNDArray::operator!(), ComplexMatrix::operator!(), octave_sparse_matrix::sparse_bool_matrix_value(), and octave_sparse_complex_matrix::sparse_bool_matrix_value().
void gripe_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 63 of file lo-array-gripes.cc.
void gripe_nonconformant | ( | const char * | op, | |
octave_idx_type | op1_len, | |||
octave_idx_type | op2_len | |||
) |
Definition at line 52 of file lo-array-gripes.cc.
void gripe_nonconformant | ( | const char * | op, | |
const dim_vector & | op1_dims, | |||
const dim_vector & | op2_dims | |||
) |
Definition at line 75 of file lo-array-gripes.cc.
References dim_vector::str().
const char* error_id_index_out_of_bounds = "Octave:index-out-of-bounds" |
Definition at line 33 of file lo-array-gripes.cc.
const char* error_id_invalid_index = "Octave:invalid-index" |
Definition at line 35 of file lo-array-gripes.cc.
const char* error_id_nonconformant_args = "Octave:nonconformant-args" |
Definition at line 31 of file lo-array-gripes.cc.