#include <cinttypes>#include <cstdlib>#include <ostream>#include "idx-vector.h"#include "Array.h"#include "Array-util.h"#include "Sparse.h"#include "Range.h"#include "oct-locbuf.h"#include "lo-error.h"#include "lo-mappers.h"
Go to the source code of this file.
Macros | |
| #define | INSTANTIATE_SCALAR_VECTOR_REP_CONST(T) |
Functions | |
| octave_idx_type | convert_index (double x, octave_idx_type &ext) |
| octave_idx_type | convert_index (float x, octave_idx_type &ext) |
| octave_idx_type | convert_index (octave_idx_type i, octave_idx_type &ext) |
| template<typename T > | |
| octave_idx_type | convert_index (octave_int< T > x, octave_idx_type &ext) |
| static OCTAVE_NORETURN void | err_index_out_of_range (void) |
| static OCTAVE_NORETURN void | err_invalid_range (void) |
| #define INSTANTIATE_SCALAR_VECTOR_REP_CONST | ( | T | ) |
Definition at line 1264 of file idx-vector.cc.
|
inline |
Definition at line 220 of file idx-vector.cc.
References convert_index(), err_invalid_index(), and x.
|
inline |
Definition at line 230 of file idx-vector.cc.
References convert_index(), and x.
|
inline |
Definition at line 209 of file idx-vector.cc.
References err_invalid_index().
Referenced by idx_vector::idx_scalar_rep::idx_scalar_rep(), idx_vector::idx_vector_rep::idx_vector_rep(), and convert_index().
|
inline |
Definition at line 236 of file idx-vector.cc.
References convert_index(), octave_int< T >::value(), and x.
|
static |
Definition at line 52 of file idx-vector.cc.
Referenced by Array< octave_value * >::cat(), DiagArray2< T >::check_idx(), idx_vector::idx_colon_rep::checkelem(), idx_vector::idx_range_rep::checkelem(), idx_vector::idx_scalar_rep::checkelem(), range< T, typename std::enable_if< std::is_floating_point< T >::value >::type >::checkelem(), Range::checkelem(), Array< T, Alloc >::checkelem(), compute_index(), range< T, typename std::enable_if< std::is_floating_point< T >::value >::type >::index(), Range::index(), Sparse< T, Alloc >::index(), and sub2ind().
|
static |
Definition at line 47 of file idx-vector.cc.
Referenced by idx_vector::idx_range_rep::idx_range_rep().