comparison 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
comparison
equal deleted inserted replaced
7442:da006c2fe55c 7443:d98dea7d16b0
2626 } 2626 }
2627 } 2627 }
2628 2628
2629 return m; 2629 return m;
2630 } 2630 }
2631
2632 #if defined (HAVE_IEEE754_DATA_FORMAT)
2633
2634 template <>
2635 extern bool ascending_compare (double, double);
2636 template <>
2637 extern bool ascending_compare (vec_index<double>*, vec_index<double>*);
2638 template <>
2639 extern bool descending_compare (double, double);
2640 template <>
2641 extern bool descending_compare (vec_index<double>*, vec_index<double>*);
2642
2643 template <>
2644 Array<double> Array<double>::sort (octave_idx_type dim, sortmode mode) const;
2645 template <>
2646 Array<double> Array<double>::sort (Array<octave_idx_type> &sidx,
2647 octave_idx_type dim, sortmode mode) const;
2648
2649 #endif
2631 2650
2632 // FIXME -- this is a mess. 2651 // FIXME -- this is a mess.
2633 2652
2634 template <class LT, class RT> 2653 template <class LT, class RT>
2635 int 2654 int