#include <cstdlib>
#include <iostream>
#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.
Defines | |
#define | INSTANTIATE_SCALAR_VECTOR_REP_CONST(T) |
Functions | |
octave_idx_type | convert_index (octave_idx_type i, bool &conv_error, octave_idx_type &ext) |
template<class T > | |
octave_idx_type | convert_index (octave_int< T > x, bool &conv_error, octave_idx_type &ext) |
octave_idx_type | convert_index (double x, bool &conv_error, octave_idx_type &ext) |
octave_idx_type | convert_index (float x, bool &conv_error, octave_idx_type &ext) |
DEFINE_OCTAVE_ALLOCATOR (idx_vector::idx_mask_rep) | |
DEFINE_OCTAVE_ALLOCATOR (idx_vector::idx_vector_rep) | |
DEFINE_OCTAVE_ALLOCATOR (idx_vector::idx_colon_rep) | |
DEFINE_OCTAVE_ALLOCATOR (idx_vector::idx_range_rep) | |
DEFINE_OCTAVE_ALLOCATOR (idx_vector::idx_scalar_rep) | |
static void | gripe_index_out_of_range (void) |
static void | gripe_invalid_range (void) |
#define INSTANTIATE_SCALAR_VECTOR_REP_CONST | ( | T | ) |
template OCTAVE_API idx_vector::idx_scalar_rep::idx_scalar_rep (T); \ template OCTAVE_API idx_vector::idx_vector_rep::idx_vector_rep (const Array<T>&);
Definition at line 1316 of file idx-vector.cc.
octave_idx_type convert_index | ( | octave_idx_type | i, | |
bool & | conv_error, | |||
octave_idx_type & | ext | |||
) | [inline] |
Definition at line 222 of file idx-vector.cc.
Referenced by convert_index(), idx_vector::idx_scalar_rep::idx_scalar_rep(), and idx_vector::idx_vector_rep::idx_vector_rep().
octave_idx_type convert_index | ( | octave_int< T > | x, | |
bool & | conv_error, | |||
octave_idx_type & | ext | |||
) | [inline] |
Definition at line 253 of file idx-vector.cc.
References convert_index().
octave_idx_type convert_index | ( | double | x, | |
bool & | conv_error, | |||
octave_idx_type & | ext | |||
) | [inline] |
Definition at line 235 of file idx-vector.cc.
References convert_index().
octave_idx_type convert_index | ( | float | x, | |
bool & | conv_error, | |||
octave_idx_type & | ext | |||
) | [inline] |
Definition at line 246 of file idx-vector.cc.
References convert_index().
DEFINE_OCTAVE_ALLOCATOR | ( | idx_vector::idx_mask_rep | ) |
DEFINE_OCTAVE_ALLOCATOR | ( | idx_vector::idx_vector_rep | ) |
DEFINE_OCTAVE_ALLOCATOR | ( | idx_vector::idx_colon_rep | ) |
DEFINE_OCTAVE_ALLOCATOR | ( | idx_vector::idx_range_rep | ) |
DEFINE_OCTAVE_ALLOCATOR | ( | idx_vector::idx_scalar_rep | ) |
static void gripe_index_out_of_range | ( | void | ) | [static] |
Definition at line 51 of file idx-vector.cc.
Referenced by DiagArray2< T >::check_idx(), Range::checkelem(), idx_vector::idx_scalar_rep::checkelem(), idx_vector::idx_range_rep::checkelem(), idx_vector::idx_colon_rep::checkelem(), Array< T >::checkelem(), Array< T >::column(), compute_index(), Sparse< T >::index(), Range::index(), Array< T >::index(), Array< T >::linear_slice(), and Array< T >::page().
static void gripe_invalid_range | ( | void | ) | [static] |
Definition at line 44 of file idx-vector.cc.
Referenced by idx_vector::idx_range_rep::idx_range_rep().