In file DVector.cpp:

DIVAMatrixExport void CDVector::Sort( bool ascending )

Sorts the vector.

Documentation

Sorts the vector in either ascending (default) or descending order. Implemented using the standard quicksort, qsort().

Returns:
Nothing.
Parameters:
ascending - If true (default) the vector is sorted in ascending order. If false its sorted in descending order.
Author:
Mikkel B. Stegmann
Version:
2-2-2001


Back DIVA Reference Manual The DIVA-Site