GNU Octave  4.2.1
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-2017 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 // FIXME: All gripe_XXX functions deprecated in 4.2. Remove file in 4.6
24 
25 #if ! defined (octave_lo_array_gripes_h)
26 #define octave_lo_array_gripes_h 1
27 
28 #include "octave-config.h"
29 
30 #include "lo-array-errwarn.h"
31 #include "dim-vector.h"
32 #include "quit.h"
33 
34 OCTAVE_DEPRECATED ("use 'octave::err_nan_to_logical_conversion' instead")
35 OCTAVE_NORETURN OCTAVE_API extern void
37 
38 OCTAVE_DEPRECATED ("use 'octave::err_nan_to_character_conversion' instead")
39 OCTAVE_NORETURN OCTAVE_API extern void
41 
42 OCTAVE_DEPRECATED ("use 'octave::err_nonconformant' instead")
43 OCTAVE_NORETURN OCTAVE_API extern void
44 gripe_nonconformant (const char *op,
45  octave_idx_type op1_len,
46  octave_idx_type op2_len);
47 
48 OCTAVE_DEPRECATED ("use 'octave::err_nonconformant' instead")
49 OCTAVE_NORETURN OCTAVE_API extern void
50 gripe_nonconformant (const char *op,
51  octave_idx_type op1_nr, octave_idx_type op1_nc,
52  octave_idx_type op2_nr, octave_idx_type op2_nc);
53 
54 OCTAVE_DEPRECATED ("use 'octave::err_nonconformant' instead")
55 OCTAVE_NORETURN OCTAVE_API extern void
56 gripe_nonconformant (const char *op, const dim_vector& op1_dims,
57  const dim_vector& op2_dims);
58 
59 OCTAVE_DEPRECATED ("use 'octave::err_index_out_of_range' instead")
60 OCTAVE_NORETURN OCTAVE_API extern void
61 gripe_index_out_of_range (int nd, int dim,
63  const dim_vector& d);
64 
65 OCTAVE_DEPRECATED ("use 'octave::err_index_out_of_range' instead")
66 OCTAVE_NORETURN OCTAVE_API extern void
67 gripe_index_out_of_range (int nd, int dim,
69 
70 OCTAVE_DEPRECATED ("use 'octave::err_del_index_out_of_range' instead")
71 OCTAVE_NORETURN OCTAVE_API extern void
73  octave_idx_type ext);
74 
75 OCTAVE_DEPRECATED ("use 'octave::err_invalid_index' instead")
76 OCTAVE_NORETURN OCTAVE_API extern void
77 gripe_invalid_index (double, octave_idx_type nd = 0,
78  octave_idx_type dim = 0,
79  const std::string& var = "");
80 
81 OCTAVE_DEPRECATED ("use 'octave::err_invalid_index' instead")
82 OCTAVE_NORETURN OCTAVE_API extern void
84  octave_idx_type dim = 0,
85  const std::string& var = "");
86 
87 OCTAVE_DEPRECATED ("use 'octave::err_invalid_index' instead")
88 OCTAVE_NORETURN OCTAVE_API extern void
89 gripe_invalid_index (const std::string& idx, octave_idx_type nd = 0,
90  octave_idx_type dim = 0,
91  const std::string& var = "");
92 
93 OCTAVE_DEPRECATED ("use 'octave::err_invalid_resize' instead")
94 OCTAVE_NORETURN OCTAVE_API extern void
96 
97 OCTAVE_DEPRECATED ("use 'octave::err_singular_matrix' instead")
98 OCTAVE_API extern void
99 gripe_singular_matrix (double rcond = 0.0);
100 
101 #endif
OCTAVE_NORETURN OCTAVE_API void gripe_nan_to_logical_conversion(void)
Octave interface to the compression and uncompression libraries.
Definition: aepbalance.cc:47
static void err_index_out_of_range(void)
Definition: idx-vector.cc:51
in that an updated permutation matrix is returned Note that if var
Definition: lu.cc:606
OCTAVE_NORETURN OCTAVE_API void gripe_invalid_index(double, octave_idx_type nd=0, octave_idx_type dim=0, const std::string &var="")
void err_invalid_index(const std::string &idx, octave_idx_type nd, octave_idx_type dim, const std::string &)
STL namespace.
OCTAVE_NORETURN OCTAVE_API void gripe_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
OCTAVE_API void gripe_singular_matrix(double rcond=0.0)
void err_del_index_out_of_range(bool is1d, octave_idx_type idx, octave_idx_type ext)
OCTAVE_NORETURN OCTAVE_API void gripe_invalid_resize(void)
void err_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
OCTAVE_NORETURN OCTAVE_API void gripe_index_out_of_range(int nd, int dim, octave_idx_type iext, octave_idx_type ext, const dim_vector &d)
void err_invalid_resize(void)
OCTAVE_NORETURN OCTAVE_API void gripe_del_index_out_of_range(bool is1d, octave_idx_type iext, octave_idx_type ext)
OCTAVE_NORETURN OCTAVE_API void gripe_nan_to_character_conversion(void)
void err_nan_to_character_conversion(void)
Vector representing the dimensions (size) of an Array.
Definition: dim-vector.h:87