GNU Octave
3.8.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 | INSTANTIATE_ARRAY_SORT(T) template class OCTAVE_API octave_sort<T>; |
#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 | |||
) |
#define INSTANTIATE_ARRAY_SORT | ( | T | ) | template class OCTAVE_API octave_sort<T>; |
|
static |
std::ostream& operator<< | ( | std::ostream & | os, |
const Array< T > & | a | ||
) |
Definition at line 2744 of file Array.cc.
References Array< T >::elem(), increment_index(), dim_vector::length(), and dim_vector::str().
Array<T>::compare_fcn_type safe_comparator | ( | sortmode | mode, |
const Array< T > & | , | ||
bool | |||
) |
Definition at line 2005 of file Array.cc.
References ASCENDING, and DESCENDING.