GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
lo-array-gripes.h
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 2000-2015 John W. Eaton
4 
5 This file is part of Octave.
6 
7 Octave is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 3 of the License, or (at your
10 option) any later version.
11 
12 Octave is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with Octave; see the file COPYING. If not, see
19 <http://www.gnu.org/licenses/>.
20 
21 */
22 
23 #if !defined (octave_lo_array_gripes_h)
24 #define octave_lo_array_gripes_h 1
25 
26 #include "dim-vector.h"
27 
28 extern OCTAVE_API const char *error_id_nonconformant_args;
29 
30 extern OCTAVE_API const char *error_id_index_out_of_bounds;
31 
32 extern OCTAVE_API const char *error_id_invalid_index;
33 
34 extern OCTAVE_API const char *warning_id_nearly_singular_matrix;
35 
36 extern OCTAVE_API const char *warning_id_singular_matrix;
37 
38 extern void OCTAVE_API
40 
41 extern void OCTAVE_API
43 
44 extern void OCTAVE_API
45 gripe_nonconformant (const char *op,
46  octave_idx_type op1_len, octave_idx_type op2_len);
47 
48 extern void OCTAVE_API
49 gripe_nonconformant (const char *op,
50  octave_idx_type op1_nr, octave_idx_type op1_nc,
51  octave_idx_type op2_nr, octave_idx_type op2_nc);
52 
53 
54 extern void OCTAVE_API
55 gripe_nonconformant (const char *op, const dim_vector& op1_dims,
56  const dim_vector& op2_dims);
57 
58 extern void OCTAVE_API
59 gripe_index_out_of_range (int nd, int dim,
61 
62 extern void OCTAVE_API
64  octave_idx_type ext);
65 
66 extern void OCTAVE_API
67 gripe_invalid_index (void);
68 
69 extern void OCTAVE_API
71 
72 extern void OCTAVE_API
74 
75 extern void OCTAVE_API
77 
78 extern void OCTAVE_API
79 gripe_singular_matrix (double rcond = 0.0);
80 
81 #endif
void OCTAVE_API gripe_invalid_resize(void)
void OCTAVE_API gripe_del_index_out_of_range(bool is1d, octave_idx_type iext, octave_idx_type ext)
void OCTAVE_API gripe_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
void OCTAVE_API gripe_invalid_assignment_size(void)
OCTAVE_API const char * warning_id_singular_matrix
OCTAVE_API const char * error_id_nonconformant_args
OCTAVE_API const char * warning_id_nearly_singular_matrix
void OCTAVE_API gripe_nan_to_character_conversion(void)
void OCTAVE_API gripe_singular_matrix(double rcond=0.0)
void OCTAVE_API gripe_index_out_of_range(int nd, int dim, octave_idx_type iext, octave_idx_type ext)
OCTAVE_API const char * error_id_index_out_of_bounds
void OCTAVE_API gripe_assignment_dimension_mismatch(void)
void OCTAVE_API gripe_nan_to_logical_conversion(void)
OCTAVE_API const char * error_id_invalid_index
void OCTAVE_API gripe_invalid_index(void)