JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
|
Functions | |
template<class T > | |
void | jkqtpQuicksort (const T *input, long long N, T *output) |
sort the given array and return the result in output (implies a copy!!!) | |
template<class T > | |
void | jkqtpQuicksort (T *a, int l, int r) |
QuickSort (recursive implementation) | |
template<class T , class T2 > | |
void | jkqtpQuicksortDual (const T *input, const T2 *input2, int N, T *output, T2 *output2) |
sort the given arrays, using input as sort criterion, returns the results in output and output2 (implied copies of the data!) | |
template<class T , class T2 > | |
void | jkqtpQuicksortDual (T *a, T2 *a2, int l, int r) |
QuickSort (recursive implementation), sorts a2 alongside a, using a as sort criterion. | |
template<class T , class T2 > | |
void | jkqtpQuicksortDual (T *input, T2 *input2, int N) |
sort the given arrays, using input as sort criterion | |
template<class T > | |
void | jkqtpSwap (T *a, int l, int r) |
swap two elements l and r in an array a | |
|
inline |
sort the given array and return the result in output (implies a copy!!!)
input | array to be sorted |
N | size of the array input |
output | if !=nullptr data is written here (the memory location pointed at by output has to have at least the length N !!!), otherwise the array input is sorted inplace. |
|
inline |
QuickSort (recursive implementation)
implementation from http://www.linux-related.de/index.html?/coding/sort/sort_quick.htm
|
inline |
sort the given arrays, using input as sort criterion, returns the results in output and output2 (implied copies of the data!)
input | array to be sorted (the sort criterion) |
input2 | array to be sorted (sorted alongside input ) |
N | size of the array input |
output | result is written here (the memory location pointed at by output has to have at least the length N !!!), otherwise the array input is sorted inplace. |
output2 | result is written here (the memory location pointed at by output has to have at least the length N !!!), otherwise the array input is sorted inplace. |
|
inline |
QuickSort (recursive implementation), sorts a2 alongside a, using a as sort criterion.
implementation from http://www.linux-related.de/index.html?/coding/sort/sort_quick.htm
|
inline |
sort the given arrays, using input as sort criterion
input | array to be sorted (the sort criterion) |
input2 | array to be sorted (sorted alongside input ) |
N | size of the array input |
|
inline |
swap two elements l and r in an array a