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