OptiVec for C++ Builder is a high-performance vector and matrix math library designed specifically to speed up data-intensive applications by eliminating loop overhead. Developed by OptiCode (Dr. Martin Sander Software Dev), it contains over 4,000 hand-optimized, Assembler-written functions that bring vectorized programming to standard PC hardware. Core Capabilities
OptiVec replaces slow compiler loops with heavily optimized assembly code, boosting execution speeds by 2 to 3 times while maintaining or enhancing numerical accuracy. It includes vectorized versions of all standard math operators and functions for all integer, floating-point, and complex data types.
The math functionalities are organized into several major fields:
Matrix Operations: Matrix multiplication, inversion, LU decomposition, singular value decomposition (SVD), and eigenvalues.
Signal Processing: One-dimensional and two-dimensional Fast Fourier Transforms (FFT) for convolutions, spectral filtering, and correlation analyses.
Curve Fitting: Data-fitting capabilities spanning simple linear regressions to highly complex non-linear models using multiple data sets.
Analysis & Statistics: Functionalities for calculating derivatives, integrals, extrema, data interpolations, and building blocks for time-series analysis. Architecture and Compiler Compatibility
C++ Builder Integration: OptiVec fully integrates with Embarcadero C++ Builder and RAD Studio. It supports both 32-bit and 64-bit Windows execution.
Hardware Exploitation: The library targets modern CPU instruction sets. The latest versions utilize AVX2, FMA, and AVX512 vector extensions to maximize processing capability on modern chipsets.
Modern Toolchain Support: It is fully compatible with modern Clang-based compilers featured in newer RAD Studio releases.
Alternative to BLAS/LINPACK: While it overlaps with traditional BLAS and LINPACK libraries, OptiVec features a much easier nomenclature and syntax tailored cleanly for C++ developers. Performance Tweaks & Precautions OptiVec for C++ Builder – Software Informer.
Leave a Reply