Functions |
template<class tFactors > |
bool | sortLowerFirst (const pair< unsigned int, vector< tFactors > > &paFirst, const pair< unsigned int, vector< tFactors > > &paSecond) |
Detailed Description
Namespace for helperclasses for the cHyperplaneBodyFull class.
Function Documentation
template<class tFactors >
bool fib::algorithms::nDn::nHyperplaneBodyFull::sortLowerFirst |
( |
const pair< unsigned int, vector< tFactors > > & |
paFirst, |
|
|
const pair< unsigned int, vector< tFactors > > & |
paSecond |
|
) |
| |
This function compares vectors correspondending to the number associated with them.
- Parameters:
-
paFirst | the first pair to compare |
paSecond | the second pair to compare |
- Returns:
- true if the first element of the first pair is lower than the second, else false