26#if defined (HAVE_CONFIG_H)
50 return octave::math::isnan (
x);
58 return octave::math::isnan (y) ? ! octave::math::isnan (
x) :
x < y;
64 return octave::math::isnan (
x) ? ! octave::math::isnan (y) :
x > y;
75 for (; k < a.
numel () && ! octave::math::isnan (a(k)); k++) ;
88 result = nan_ascending_compare;
90 result = nan_descending_compare;
#define INSTANTIATE_ARRAY(T, API)
bool sort_isnan< FloatComplex >(const FloatComplex &x)
template std::ostream & operator<<(std::ostream &, const Array< FloatComplex > &)
Array< FloatComplex >::compare_fcn_type safe_comparator(sortmode mode, const Array< FloatComplex > &a, bool allow_chk)
N Dimensional Array with copy-on-write semantics.
octave_idx_type numel() const
Number of elements in the array.
F77_RET_T const F77_DBLE * x
std::complex< float > FloatComplex