![]() |
SenK
SenK is a C++ library for high-performance linear solvers.
|
Contains supplemental functions. More...
Functions | |
| template<typename T > | |
| void | Swap (T *a, T *b) |
| Swap two variables. More... | |
| template<typename T > | |
| void | QuickSort (T *key, int left, int right) |
| Sort an array by the quick sort. More... | |
| template<typename T , typename T2 > | |
| void | QuickSort (T *key, T2 *sub, int left, int right) |
| Sort arrays by the quick sort. More... | |
| template<typename T , typename T2 , typename T3 > | |
| void | QuickSort (T *key, T2 *sub, T3 *sub2, int left, int right) |
| Sort arrays by the quick sort. More... | |
| template<typename T > | |
| void | QuickSortDesc (T *key, int left, int right) |
| Sort an array in descending order by the quick sort. More... | |
| template<typename T , typename T2 > | |
| void | QuickSortDesc (T *key, T2 *sub, int left, int right) |
| Sort arrays in descending order by the quick sort. More... | |
| template<typename T , typename T2 , typename T3 > | |
| void | QuickSortDesc (T *key, T2 *sub, T3 *sub2, int left, int right) |
| Sort arrays in descending order by the quick sort. More... | |
Contains supplemental functions.
| void senk::helper::QuickSort | ( | T * | key, |
| int | left, | ||
| int | right | ||
| ) |
Sort an array by the quick sort.
| T | Type of the array. |
| key | The variable. |
| left | Starting position of the range to be sorted. |
| right | End position of the range to be sorted. |
Definition at line 36 of file senk_helper.hpp.
| void senk::helper::QuickSort | ( | T * | key, |
| T2 * | sub, | ||
| int | left, | ||
| int | right | ||
| ) |
Sort arrays by the quick sort.
| T | Type of the key array. |
| T | Type of the dependent array. |
| key | A key array. |
| sub | A subordinate array. |
| left | Starting position of the range to be sorted. |
| right | End position of the range to be sorted. |
Definition at line 62 of file senk_helper.hpp.
| void senk::helper::QuickSort | ( | T * | key, |
| T2 * | sub, | ||
| T3 * | sub2, | ||
| int | left, | ||
| int | right | ||
| ) |
Sort arrays by the quick sort.
| T | Type of the key array. |
| T2 | Type of the 1st dependent array. |
| T3 | Type of the 2nd dependent array. |
| key | A key array. |
| sub | A dependent array. |
| sub2 | A dependent array. |
| left | Starting position of the range to be sorted. |
| right | End position of the range to be sorted. |
Definition at line 91 of file senk_helper.hpp.
| void senk::helper::QuickSortDesc | ( | T * | key, |
| int | left, | ||
| int | right | ||
| ) |
Sort an array in descending order by the quick sort.
| T | Type of the array. |
| key | The variable. |
| left | Starting position of the range to be sorted. |
| right | End position of the range to be sorted. |
Definition at line 117 of file senk_helper.hpp.
| void senk::helper::QuickSortDesc | ( | T * | key, |
| T2 * | sub, | ||
| int | left, | ||
| int | right | ||
| ) |
Sort arrays in descending order by the quick sort.
| T | Type of the key array. |
| T | Type of the dependent array. |
| key | A key array. |
| sub | A subordinate array. |
| left | Starting position of the range to be sorted. |
| right | End position of the range to be sorted. |
Definition at line 143 of file senk_helper.hpp.
| void senk::helper::QuickSortDesc | ( | T * | key, |
| T2 * | sub, | ||
| T3 * | sub2, | ||
| int | left, | ||
| int | right | ||
| ) |
Sort arrays in descending order by the quick sort.
| T | Type of the key array. |
| T2 | Type of the 1st dependent array. |
| T3 | Type of the 2nd dependent array. |
| key | A key array. |
| sub | A dependent array. |
| sub2 | A dependent array. |
| left | Starting position of the range to be sorted. |
| right | End position of the range to be sorted. |
Definition at line 172 of file senk_helper.hpp.
| void senk::helper::Swap | ( | T * | a, |
| T * | b | ||
| ) |
Swap two variables.
| T | Type of the variables. |
| a | The variable. |
| b | The variable. |
Definition at line 22 of file senk_helper.hpp.