GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
lo-array-gripes.h File Reference
#include "octave-config.h"
#include "lo-array-errwarn.h"
#include "dim-vector.h"
#include "quit.h"
Include dependency graph for lo-array-gripes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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_index_out_of_range (int nd, int dim, octave_idx_type iext, octave_idx_type ext, const dim_vector &d)
 
OCTAVE_NORETURN OCTAVE_API void gripe_index_out_of_range (int nd, int dim, octave_idx_type iext, octave_idx_type ext)
 
OCTAVE_NORETURN OCTAVE_API void gripe_invalid_index (double, octave_idx_type nd=0, octave_idx_type dim=0, const std::string &var="")
 
OCTAVE_NORETURN OCTAVE_API void gripe_invalid_index (octave_idx_type n, octave_idx_type nd=0, octave_idx_type dim=0, const std::string &var="")
 
OCTAVE_NORETURN OCTAVE_API void gripe_invalid_index (const std::string &idx, octave_idx_type nd=0, octave_idx_type dim=0, const std::string &var="")
 
OCTAVE_NORETURN OCTAVE_API void gripe_invalid_resize (void)
 
OCTAVE_NORETURN OCTAVE_API void gripe_nan_to_character_conversion (void)
 
OCTAVE_NORETURN OCTAVE_API void gripe_nan_to_logical_conversion (void)
 
OCTAVE_NORETURN OCTAVE_API void gripe_nonconformant (const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
 
OCTAVE_NORETURN OCTAVE_API 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)
 
OCTAVE_NORETURN OCTAVE_API void gripe_nonconformant (const char *op, const dim_vector &op1_dims, const dim_vector &op2_dims)
 
OCTAVE_API void gripe_singular_matrix (double rcond=0.0)
 

Function Documentation

◆ gripe_del_index_out_of_range()

OCTAVE_NORETURN OCTAVE_API void gripe_del_index_out_of_range ( bool  is1d,
octave_idx_type  iext,
octave_idx_type  ext 
)

Definition at line 100 of file lo-array-gripes.cc.

References error_id_index_out_of_bounds.

◆ gripe_index_out_of_range() [1/2]

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 
)

Definition at line 261 of file lo-array-gripes.cc.

References d, and e.

◆ gripe_index_out_of_range() [2/2]

OCTAVE_NORETURN OCTAVE_API void gripe_index_out_of_range ( int  nd,
int  dim,
octave_idx_type  iext,
octave_idx_type  ext 
)

Definition at line 245 of file lo-array-gripes.cc.

References e.

◆ gripe_invalid_index() [1/3]

OCTAVE_NORETURN OCTAVE_API void gripe_invalid_index ( double  ,
octave_idx_type  nd = 0,
octave_idx_type  dim = 0,
const std::string var = "" 
)

Definition at line 169 of file lo-array-gripes.cc.

References gripe_invalid_index(), and var.

◆ gripe_invalid_index() [2/3]

OCTAVE_NORETURN OCTAVE_API void gripe_invalid_index ( octave_idx_type  n,
octave_idx_type  nd = 0,
octave_idx_type  dim = 0,
const std::string var = "" 
)

Definition at line 150 of file lo-array-gripes.cc.

References gripe_invalid_index(), and var.

◆ gripe_invalid_index() [3/3]

OCTAVE_NORETURN OCTAVE_API void gripe_invalid_index ( const std::string idx,
octave_idx_type  nd = 0,
octave_idx_type  dim = 0,
const std::string var = "" 
)

Definition at line 141 of file lo-array-gripes.cc.

References e.

Referenced by gripe_invalid_index().

◆ gripe_invalid_resize()

OCTAVE_NORETURN OCTAVE_API void gripe_invalid_resize ( void  )

Definition at line 275 of file lo-array-gripes.cc.

◆ gripe_nan_to_character_conversion()

OCTAVE_NORETURN OCTAVE_API void gripe_nan_to_character_conversion ( void  )

Definition at line 56 of file lo-array-gripes.cc.

◆ gripe_nan_to_logical_conversion()

OCTAVE_NORETURN OCTAVE_API void gripe_nan_to_logical_conversion ( void  )

Definition at line 49 of file lo-array-gripes.cc.

◆ gripe_nonconformant() [1/3]

OCTAVE_NORETURN OCTAVE_API void gripe_nonconformant ( const char *  op,
octave_idx_type  op1_len,
octave_idx_type  op2_len 
)

Definition at line 63 of file lo-array-gripes.cc.

References error_id_nonconformant_args.

◆ gripe_nonconformant() [2/3]

OCTAVE_NORETURN OCTAVE_API 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 74 of file lo-array-gripes.cc.

References error_id_nonconformant_args.

◆ gripe_nonconformant() [3/3]

OCTAVE_NORETURN OCTAVE_API void gripe_nonconformant ( const char *  op,
const dim_vector op1_dims,
const dim_vector op2_dims 
)

Definition at line 86 of file lo-array-gripes.cc.

References error_id_nonconformant_args, dim_vector::str(), and string.

◆ gripe_singular_matrix()

OCTAVE_API void gripe_singular_matrix ( double  rcond = 0.0)