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
Loading...
Searching...
No Matches
Collaboration diagram for Data Array Tools:

Classes

class  JKQTPArrayScopedPointer< T >
 this class ensures that the given pointer is freed when the class is destroyed. More...
 

Functions

template<class T >
T * jkqtpArrayDuplicate (const T *dataIn, long long N)
 duplicate an array of data
 
template<class T >
void jkqtpArraySwap (T *a, long long l, long long r)
 swap two elements l and r in an array a
 
template<class T >
void jkqtpArraySwapV (std::vector< T > &a, long long l, long long r)
 swap two elements l and r in an array a
 

Detailed Description

Functions in this group form the basis for the statistics (Statistical Computations ) and linear algebra libraries (Linear Algebra Tools ), by providing allocation and freeing of (aligned) memory arrays.

See also
JKQTPlotterBasicJKQTPDatastoreStatistics

Function Documentation

◆ jkqtpArrayDuplicate()

template<class T >
T * jkqtpArrayDuplicate ( const T *  dataIn,
long long  N 
)
inline

duplicate an array of data

Note
use free() to free the memory!!!

◆ jkqtpArraySwap()

template<class T >
void jkqtpArraySwap ( T *  a,
long long  l,
long long  r 
)
inline

swap two elements l and r in an array a

◆ jkqtpArraySwapV()

template<class T >
void jkqtpArraySwapV ( std::vector< T > &  a,
long long  l,
long long  r 
)
inline

swap two elements l and r in an array a