GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Array.cc File Reference
#include <ostream>
#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>
N Dimensional Array with copy-on-write semantics.
Definition: Array.h:128
static void instantiation_guard()
Size of the specified dimension.
Definition: Array.cc:2760

Definition at line 2767 of file Array.cc.

◆ NO_INSTANTIATE_ARRAY_SORT

#define NO_INSTANTIATE_ARRAY_SORT (   T)

Definition at line 2469 of file Array.cc.

Function Documentation

◆ no_op_fcn()

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

Definition at line 1635 of file Array.cc.

References x.

◆ operator<<()

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

◆ safe_comparator()

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

Definition at line 2021 of file Array.cc.

References ASCENDING, and DESCENDING.

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

◆ sort_isnan()

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

Definition at line 1750 of file Array.cc.