comparison liboctave/Array-util.h @ 10366:e5ae13b8b2c2

improve Array indexing error messages
author Jaroslav Hajek <highegg@gmail.com>
date Sat, 27 Feb 2010 08:37:34 +0100
parents cbc402e64d83
children 9c4daf174387
comparison
equal deleted inserted replaced
10365:532802559f39 10366:e5ae13b8b2c2
97 97
98 extern void OCTAVE_API gripe_nonconformant (const char *op, int op1_nr, int op1_nc, 98 extern void OCTAVE_API gripe_nonconformant (const char *op, int op1_nr, int op1_nc,
99 int op2_nr, int op2_nc); 99 int op2_nr, int op2_nc);
100 100
101 101
102 extern void OCTAVE_API gripe_nonconformant (const char *op, dim_vector& op1_dims, 102 extern void OCTAVE_API gripe_nonconformant (const char *op, const dim_vector& op1_dims,
103 dim_vector& op2_dims); 103 const dim_vector& op2_dims);
104
105 extern void OCTAVE_API gripe_index_out_of_range (int nd, int dim,
106 octave_idx_type iext, octave_idx_type ext);
107
108 extern void OCTAVE_API gripe_del_index_out_of_range (bool is1d, octave_idx_type iext,
109 octave_idx_type ext);
104 110
105 #endif 111 #endif