GNU Octave  4.0.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
Classes | Macros | Functions
Array.cc File Reference
#include <cassert>
#include <iostream>
#include <sstream>
#include <vector>
#include <algorithm>
#include <new>
#include "Array.h"
#include "Array-util.h"
#include "idx-vector.h"
#include "lo-error.h"
#include "oct-locbuf.h"
Include dependency graph for Array.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rec_index_helper
 
class  rec_permute_helper
 
class  rec_resize_helper
 

Macros

#define INSTANTIATE_ARRAY(T, API)
 
#define NO_INSTANTIATE_ARRAY_SORT(T)
 

Functions

template<class T >
static T no_op_fcn (const T &x)
 
template<class T >
std::ostream & operator<< (std::ostream &os, const Array< T > &a)
 
template<class T >
Array< T >::compare_fcn_type safe_comparator (sortmode mode, const Array< T > &, bool)
 
template<class T >
bool sort_isnan (typename ref_param< T >::type)
 

Macro Definition Documentation

#define INSTANTIATE_ARRAY (   T,
  API 
)
Value:
template <> void Array<T>::instantiation_guard () { } \
template class API Array<T>
static void instantiation_guard()
Definition: Array.cc:2766
Handles the reference counting for all the derived classes.
Definition: Array.h:45

Definition at line 2773 of file Array.cc.

#define NO_INSTANTIATE_ARRAY_SORT (   T)

Definition at line 2481 of file Array.cc.

Function Documentation

template<class T >
static T no_op_fcn ( const T &  x)
static

Definition at line 1643 of file Array.cc.

References x.

template<class T >
std::ostream& operator<< ( std::ostream &  os,
const Array< T > &  a 
)

Definition at line 2781 of file Array.cc.

References increment_index(), dim_vector::length(), ra_idx, and dim_vector::str().

template<class T >
Array<T>::compare_fcn_type safe_comparator ( sortmode  mode,
const Array< T > &  ,
bool   
)

Definition at line 2038 of file Array.cc.

References ASCENDING, and DESCENDING.

Referenced by Array< T >::is_sorted(), Array< T >::is_sorted_rows(), and Array< T >::sort_rows_idx().

template<class T >
bool sort_isnan ( typename ref_param< T >::type  )
inline

Definition at line 1759 of file Array.cc.