#include <ostream>
#include "Array-util.h"
#include "Array.h"
#include "lo-mappers.h"
#include "oct-locbuf.h"
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) NO_INSTANTIATE_ARRAY_SORT_API (T,) |
#define | NO_INSTANTIATE_ARRAY_SORT_API(T, API) |
Functions | |
template<typename T > | |
static T | no_op_fcn (const T &x) |
template<typename T , typename Alloc > | |
std::ostream & | operator<< (std::ostream &os, const Array< T, Alloc > &a) |
template<typename T , typename Alloc > | |
Array< T, Alloc >::compare_fcn_type | safe_comparator (sortmode mode, const Array< T, Alloc > &, bool) |
template<typename T > | |
bool | sort_isnan (typename ref_param< T >::type) |
#define INSTANTIATE_ARRAY | ( | T, | |
API | |||
) |
Definition at line 2782 of file Array-base.cc.
#define NO_INSTANTIATE_ARRAY_SORT | ( | T | ) | NO_INSTANTIATE_ARRAY_SORT_API (T,) |
Definition at line 2539 of file Array-base.cc.
#define NO_INSTANTIATE_ARRAY_SORT_API | ( | T, | |
API | |||
) |
Definition at line 2482 of file Array-base.cc.
|
static |
Definition at line 1661 of file Array-base.cc.
References x.
std::ostream& operator<< | ( | std::ostream & | os, |
const Array< T, Alloc > & | a | ||
) |
Definition at line 2791 of file Array-base.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::elem(), increment_index(), m, dim_vector::ndims(), ra_idx, and dim_vector::str().
Array<T, Alloc>::compare_fcn_type safe_comparator | ( | sortmode | mode, |
const Array< T, Alloc > & | , | ||
bool | |||
) |
Definition at line 2036 of file Array-base.cc.
References ASCENDING, and DESCENDING.
Referenced by Array< T, Alloc >::is_sorted_rows(), Array< T, Alloc >::issorted(), and Array< T, Alloc >::sort_rows_idx().
|
inline |
Definition at line 1776 of file Array-base.cc.