GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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"
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) |
#define INSTANTIATE_ARRAY | ( | T, | |
API | |||
) |
|
static |
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().
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().