Functions
core/vbl/vbl_sort.cxx File Reference
#include "vbl_sort.h"

Go to the source code of this file.

Functions

int vbl_sort_double_ascending (double const &a, double const &b)
 Predicate that will sort doubles in ascending order.
int vbl_sort_double_descending (double const &a, double const &b)
 Predicate that will sort in descending order.
int vbl_sort_int_ascending (int const &a, int const &b)
 Ascending integers.
int vbl_sort_int_descending (const int &a, const int &b)
 Descending integers.
 VBL_SORT_INSTANTIATE (int)
 VBL_SORT_INSTANTIATE (double)

Detailed Description

Author:
Andrew W. Fitzgibbon, Oxford RRG
Date:
19 Nov 97

Definition in file vbl_sort.cxx.


Function Documentation

int vbl_sort_double_ascending ( double const &  a,
double const &  b 
)

Predicate that will sort doubles in ascending order.

Definition at line 14 of file vbl_sort.cxx.

int vbl_sort_double_descending ( double const &  a,
double const &  b 
)

Predicate that will sort in descending order.

Definition at line 26 of file vbl_sort.cxx.

VBL_SORT_INSTANTIATE ( int  )
VBL_SORT_INSTANTIATE ( double  )
int vbl_sort_int_ascending ( int const &  a,
int const &  b 
)

Ascending integers.

Definition at line 38 of file vbl_sort.cxx.

int vbl_sort_int_descending ( const int &  a,
const int &  b 
)

Descending integers.

Definition at line 50 of file vbl_sort.cxx.