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

Go to the source code of this file.

Classes

class  index_exception
 

Functions

OCTAVE_NORETURN OCTAVE_API void err_del_index_out_of_range (bool is1d, octave_idx_type iext, octave_idx_type ext)
 
OCTAVE_NORETURN OCTAVE_API void err_index_out_of_range (int ndims, int dim, octave_idx_type idx, octave_idx_type ext, const dim_vector &dv)
 
OCTAVE_NORETURN OCTAVE_API void err_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 err_invalid_index (double n, octave_idx_type nd=0, octave_idx_type dim=0, const std::string &var="")
 
OCTAVE_NORETURN OCTAVE_API void err_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 err_invalid_resize (void)
 
OCTAVE_NORETURN OCTAVE_API void err_nan_to_character_conversion (void)
 
OCTAVE_NORETURN OCTAVE_API void err_nan_to_logical_conversion (void)
 
OCTAVE_NORETURN OCTAVE_API void err_nonconformant (const char *op, const dim_vector &op1_dims, const dim_vector &op2_dims)
 
OCTAVE_NORETURN OCTAVE_API void err_nonconformant (const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
 
OCTAVE_NORETURN OCTAVE_API void err_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_API void warn_singular_matrix (double rcond=0.0)
 

Function Documentation

◆ err_del_index_out_of_range()

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

◆ err_index_out_of_range()

OCTAVE_NORETURN OCTAVE_API void err_index_out_of_range ( int  ndims,
int  dim,
octave_idx_type  idx,
octave_idx_type  ext,
const dim_vector dv 
)

Definition at line 274 of file lo-array-errwarn.cc.

◆ err_invalid_index() [1/3]

◆ err_invalid_index() [2/3]

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

Definition at line 218 of file lo-array-errwarn.cc.

References err_invalid_index(), floor(), isnan(), and n.

◆ err_invalid_index() [3/3]

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

Definition at line 211 of file lo-array-errwarn.cc.

References err_invalid_index(), and n.

◆ err_invalid_resize()

OCTAVE_NORETURN OCTAVE_API void err_invalid_resize ( void  )

◆ err_nan_to_character_conversion()

◆ err_nan_to_logical_conversion()

◆ err_nonconformant() [1/3]

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

Definition at line 97 of file lo-array-errwarn.cc.

References error_id_nonconformant_args, and dim_vector::str().

◆ err_nonconformant() [2/3]

◆ err_nonconformant() [3/3]

OCTAVE_NORETURN OCTAVE_API void err_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 83 of file lo-array-errwarn.cc.

References error_id_nonconformant_args.

◆ warn_singular_matrix()