24 #if defined (HAVE_CONFIG_H) 35 #define INLINE_ASCENDING_SORT 1 36 #define INLINE_DESCENDING_SORT 1 102 const double *el =
data ();
168 template OCTAVE_API std::ostream&
operator << (std::ostream&,
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< double > &)
bool sort_isnan< double >(double x)
const T * data(void) const
Return the CPU time used by your Octave session The first output is the total time spent executing your process and is equal to the sum of second and third which are the number of CPU seconds spent executing in user mode and the number of CPU seconds spent executing in system mode
static bool nan_descending_compare(double x, double y)
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
sortmode issorted(sortmode mode=UNSORTED) const
Ordering is auto-detected or can be specified.
#define INSTANTIATE_ARRAY(T, API)
With real return the complex result
Array< double >::compare_fcn_type safe_comparator(sortmode mode, const Array< double > &a, bool allow_chk)
N Dimensional Array with copy-on-write semantics.
static bool nan_ascending_compare(double x, double y)
the element is set to zero In other the statement xample y
octave_idx_type numel(void) const
Number of elements in the array.
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE * x