22#ifndef JKQTPALGORITHMS_H_INCLUDED
23#define JKQTPALGORITHMS_H_INCLUDED
24#include "jkqtmath/jkqtmath_imexport.h"
56 while(a[--j]>a[r] && j>i);
58 jkqtpSwap<T>(a, i, j);
60 jkqtpSwap<T>(a, i, r);
73template <
class T,
class T2>
81 while(a[--j]>a[r] && j>i);
107 if ((!input)) return ;
110 memcpy(output, input, N*
sizeof(T));
125template <
class T,
class T2>
127 if ((!input)) return ;
144template <
class T,
class T2>
146 if ((!input)) return ;
149 memcpy(output, input, N*
sizeof(T));
151 memcpy(output2, input2, N*
sizeof(T2));