Functions
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. More...
 
int vbl_sort_double_descending (double const &a, double const &b)
 Predicate that will sort in descending order. More...
 
int vbl_sort_int_ascending (int const &a, int const &b)
 Ascending integers. More...
 
int vbl_sort_int_descending (const int &a, const int &b)
 Descending integers. More...
 
 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

◆ vbl_sort_double_ascending()

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

Predicate that will sort doubles in ascending order.

Definition at line 11 of file vbl_sort.cxx.

◆ vbl_sort_double_descending()

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

Predicate that will sort in descending order.

Definition at line 23 of file vbl_sort.cxx.

◆ VBL_SORT_INSTANTIATE() [1/2]

VBL_SORT_INSTANTIATE ( int  )

◆ VBL_SORT_INSTANTIATE() [2/2]

VBL_SORT_INSTANTIATE ( double  )

◆ vbl_sort_int_ascending()

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

Ascending integers.

Definition at line 35 of file vbl_sort.cxx.

◆ vbl_sort_int_descending()

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

Descending integers.

Definition at line 47 of file vbl_sort.cxx.