GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Array.cc File Reference
#include <iostream>
#include "Array-util.h"
#include "Array.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

◆ INSTANTIATE_ARRAY

#define INSTANTIATE_ARRAY (   T,
  API 
)
Value:
template <> void Array<T>::instantiation_guard () { } \
template class API Array<T>
static void instantiation_guard()
Definition: Array.cc:2761
N Dimensional Array with copy-on-write semantics.
Definition: Array.h:125

Definition at line 2768 of file Array.cc.

◆ NO_INSTANTIATE_ARRAY_SORT

#define NO_INSTANTIATE_ARRAY_SORT (   T)

Definition at line 2471 of file Array.cc.

Function Documentation

◆ no_op_fcn()

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

Definition at line 1634 of file Array.cc.

References x.

◆ operator<<()

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

Definition at line 2776 of file Array.cc.

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

◆ safe_comparator()

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

◆ sort_isnan()

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

Definition at line 1749 of file Array.cc.