26 #if defined (HAVE_CONFIG_H)
37 #define INLINE_ASCENDING_SORT 1
38 #define INLINE_DESCENDING_SORT 1
104 const double *el =
data ();
static bool nan_ascending_compare(double x, double y)
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< double > &)
bool sort_isnan< double >(double x)
static bool nan_descending_compare(double x, double y)
Array< double >::compare_fcn_type safe_comparator(sortmode mode, const Array< double > &a, bool allow_chk)
#define INSTANTIATE_ARRAY(T, API)
N Dimensional Array with copy-on-write semantics.
sortmode issorted(sortmode mode=UNSORTED) const
Ordering is auto-detected or can be specified.
octave_idx_type numel(void) const
Number of elements in the array.
const T * data(void) const
Size of the specified dimension.
F77_RET_T const F77_DBLE * x