Mercurial > hg > octave-nkf
diff liboctave/Array.cc @ 7443:d98dea7d16b0
[project @ 2008-02-03 20:58:12 by jwe]
author | jwe |
---|---|
date | Sun, 03 Feb 2008 20:58:12 +0000 |
parents | da006c2fe55c |
children | 2467639bd8c0 |
line wrap: on
line diff
--- a/liboctave/Array.cc +++ b/liboctave/Array.cc @@ -2629,6 +2629,25 @@ return m; } +#if defined (HAVE_IEEE754_DATA_FORMAT) + +template <> +extern bool ascending_compare (double, double); +template <> +extern bool ascending_compare (vec_index<double>*, vec_index<double>*); +template <> +extern bool descending_compare (double, double); +template <> +extern bool descending_compare (vec_index<double>*, vec_index<double>*); + +template <> +Array<double> Array<double>::sort (octave_idx_type dim, sortmode mode) const; +template <> +Array<double> Array<double>::sort (Array<octave_idx_type> &sidx, + octave_idx_type dim, sortmode mode) const; + +#endif + // FIXME -- this is a mess. template <class LT, class RT>