GNU Octave  3.8.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
Functions | Variables
lo-array-gripes.cc File Reference
#include "lo-array-gripes.h"
#include "lo-error.h"
Include dependency graph for lo-array-gripes.cc:

Go to the source code of this file.

Functions

void gripe_assignment_dimension_mismatch (void)
void gripe_del_index_out_of_range (bool is1d, octave_idx_type idx, octave_idx_type ext)
void gripe_index_out_of_range (int nd, int dim, octave_idx_type idx, octave_idx_type ext)
void gripe_invalid_assignment_size (void)
void gripe_invalid_index (void)
void gripe_invalid_resize (void)
void gripe_nan_to_character_conversion (void)
void gripe_nan_to_logical_conversion (void)
void gripe_nonconformant (const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
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)
void gripe_nonconformant (const char *op, const dim_vector &op1_dims, const dim_vector &op2_dims)

Variables

const charerror_id_index_out_of_bounds = "Octave:index-out-of-bounds"
const charerror_id_invalid_index = "Octave:invalid-index"
const charerror_id_nonconformant_args = "Octave:nonconformant-args"

Function Documentation

void gripe_assignment_dimension_mismatch ( void  )

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

Referenced by Array< T >::assign(), and Sparse< T >::assign().

void gripe_del_index_out_of_range ( bool  is1d,
octave_idx_type  idx,
octave_idx_type  ext 
)
void gripe_index_out_of_range ( int  nd,
int  dim,
octave_idx_type  idx,
octave_idx_type  ext 
)

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

References error_id_index_out_of_bounds.

void gripe_invalid_assignment_size ( void  )

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

Referenced by Array< T >::assign(), and Sparse< T >::assign().

void gripe_invalid_index ( void  )
void gripe_invalid_resize ( void  )
void gripe_nan_to_character_conversion ( void  )
void gripe_nan_to_logical_conversion ( void  )
void gripe_nonconformant ( const char op,
octave_idx_type  op1_len,
octave_idx_type  op2_len 
)
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 63 of file lo-array-gripes.cc.

References error_id_nonconformant_args.

void gripe_nonconformant ( const char op,
const dim_vector op1_dims,
const dim_vector op2_dims 
)

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

References error_id_nonconformant_args, and dim_vector::str().

Variable Documentation

const char* error_id_index_out_of_bounds = "Octave:index-out-of-bounds"

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

Referenced by gripe_del_index_out_of_range(), and gripe_index_out_of_range().

const char* error_id_invalid_index = "Octave:invalid-index"

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

Referenced by gripe_invalid_index().

const char* error_id_nonconformant_args = "Octave:nonconformant-args"

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

Referenced by gripe_nonconformant().