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

dbl_sort Class Reference

#include <dbl_sort.h>

Inheritance diagram for dbl_sort::

generic_sort List of all members.

Protected Methods

int compare (double a, double b)

Member Function Documentation

int dbl_sort::compare ( double a,
double b ) [inline, protected]
 

Definition at line 11 of file dbl_sort.h.

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


The documentation for this class was generated from the following file:
Generated at Wed May 21 21:19:27 2003 for Basic Statistics Functions by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001