Navigation

Operators and Keywords

Function List:

C++ API

idx-vector.cc File Reference

#include <cstdlib>
#include <iostream>
#include "idx-vector.h"
#include "Array.h"
#include "Sparse.h"
#include "Range.h"
#include "oct-locbuf.h"
#include "lo-error.h"
#include "lo-mappers.h"

Include dependency graph for idx-vector.cc:


Defines

#define INSTANTIATE_SCALAR_VECTOR_REP_CONST(T)

Functions

 DEFINE_OCTAVE_ALLOCATOR (idx_vector::idx_colon_rep)
 DEFINE_OCTAVE_ALLOCATOR (idx_vector::idx_range_rep)
octave_idx_type convert_index (octave_idx_type i, 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)
template<class T >
octave_idx_type convert_index (octave_int< T > x, bool &conv_error, octave_idx_type &ext)
 DEFINE_OCTAVE_ALLOCATOR (idx_vector::idx_scalar_rep)
 DEFINE_OCTAVE_ALLOCATOR (idx_vector::idx_vector_rep)

Define Documentation

#define INSTANTIATE_SCALAR_VECTOR_REP_CONST ( T   ) 

Value:

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>&);


Function Documentation

template<class T >
octave_idx_type convert_index ( octave_int< T x,
bool conv_error,
octave_idx_type ext 
) [inline]

octave_idx_type convert_index ( float  x,
bool conv_error,
octave_idx_type ext 
) [inline]

octave_idx_type convert_index ( double  x,
bool conv_error,
octave_idx_type ext 
) [inline]

octave_idx_type convert_index ( octave_idx_type  i,
bool conv_error,
octave_idx_type ext 
) [inline]

DEFINE_OCTAVE_ALLOCATOR ( idx_vector::idx_vector_rep   ) 

DEFINE_OCTAVE_ALLOCATOR ( idx_vector::idx_scalar_rep   ) 

DEFINE_OCTAVE_ALLOCATOR ( idx_vector::idx_range_rep   ) 

DEFINE_OCTAVE_ALLOCATOR ( idx_vector::idx_colon_rep   )