GNU Octave  4.2.1
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 "lo-mappers.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<typename T >
static T no_op_fcn (const T &x)
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const Array< T > &a)
 
template<typename T >
Array< T >::compare_fcn_type safe_comparator (sortmode mode, const Array< T > &, bool)
 
template<typename 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:2760
N Dimensional Array with copy-on-write semantics.
Definition: Array.h:126

Definition at line 2767 of file Array.cc.

#define NO_INSTANTIATE_ARRAY_SORT (   T)

Definition at line 2470 of file Array.cc.

Function Documentation

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

Definition at line 1652 of file Array.cc.

References x.

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

Definition at line 2775 of file Array.cc.

References a, increment_index(), k, m, dim_vector::ndims(), ra_idx, and dim_vector::str().

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

Definition at line 2039 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<typename T >
bool sort_isnan ( typename ref_param< T >::type  )
inline

Definition at line 1768 of file Array.cc.