Major Function Groups Quick Reference

Quick reference of the most common MtxVec function groups organized by category. Features column: SSE = SIMD vectorized, SMP = multithreaded, RCX = mixed real/complex.

Basic vector math (class: TMtxVec — works on any vector or matrix):

FunctionFormulaFeatures
Absa[i] = abs(b[i])SSE
Adda[i] = b[i] + c[i]SSE, RCX
Suba[i] = b[i] - c[i]SSE, RCX
Mula[i] = b[i] * c[i]SSE, RCX
Dividea[i] = b[i] / c[i]SSE, RCX
Sin, Cos, Tantrig functionsSSE, SMP
Exp, Exp2, Exp10exponentialsSSE, SMP
Ln, Log2, Log10, LogNlogarithmsSSE, SMP
Sqrt, Sqrsquare root, squareSSE, SMP
Power, IntPowera[i] = b[i]^cSSE, SMP
Sum, Mean, Min, Maxscalar reductionsSSE
Productproduct of all elementsSSE
DotProdS = Sum(a[i]*b[i])SSE
Inv, InvSqrt1/x, 1/sqrt(x)SSE, SMP

Statistical (class: TDenseMtxVec): StdDev, Variance, RMS, Kurtosis, Skewness, Mean

Complex number operations (class: TMtxVec): Expj, Conj, ConjMul, RealPart, ImagPart, CplxToReal, RealToCplx, ExtendToComplex, CartToPolar, PolarToCart, PhaseSpectrum, PowerSpectrum

FFT (class: TDenseMtxVec/TVec/TMtx):

FunctionDescriptionFeatures
FFT/IFFTComplex-to-complex DFTSSE, SMP
FFTFromRealReal-to-complex (2x faster)SSE, SMP
IFFTToRealComplex-to-real (2x faster)SSE, SMP
FFT2D2D FFT on matrixSSE, SMP
DCT/IDCTDiscrete cosine transformSSE

Linear algebra (class: TMtx):

FunctionDescriptionFeatures
LUSolveSolve A*X = BSSE, SMP
LQRSolveLeast squares solutionSSE, SMP
SVDSolveSVD-based solutionSSE, SMP
Eig, EigGenEigenvalues/vectorsSSE, SMP
SVDSingular value decompositionSSE, SMP
LU, Cholesky, LQRMatrix factorizationsSSE, SMP
Inverse, DeterminantMatrix inverse/detSSE, SMP
Transp, AdjungTranspose, adjungateSSE

Matrix operations (class: TMtx): Diag, Eye, Concat, Kron, Rotate90, SetCol/SetRow, SumCols/SumRows, MeanCols/MeanRows, Norm1/NormFro/NormInf, Toeplitz, VanderMond, Pascl