Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

dbl_sort.h

Go to the documentation of this file.
00001 
00002 #ifndef _DBL_SORT_H_
00003 #define _DBL_SORT_H_
00004 
00005 #include "generic_sort.h"
00006 
00007 class dbl_sort : public generic_sort<double>
00008 {
00009   protected:
00010 
00011   int compare( double a, double b)
00012   {
00013     int rslt = 0;
00014 
00015     if (a < b)
00016       rslt = -1;
00017     else if (a > b)
00018       rslt = 1;
00019 
00020     return rslt;
00021   } // compare
00022 
00023 
00024 }; // dbl_sort
00025 
00026 
00027 #endif

Generated at Thu May 22 21:12:35 2003 for Hurst Exponent Calculation and Supporting Statistics by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001