Typical speed-ups
- 2–3× vector functions, often up to 10×
- 20× matrix multiplication
- 100–200× customer algorithms rewritten with MtxVec
Specific to Delphi and C++Builder
Every FireMonkey platform
One source for Windows, macOS, iOS, Android and Linux. Scalar math maps to the native math library of Android, iOS, macOS and Linux for maximum speed; on Apple devices every function also maps to Apple's Accelerate framework — BLAS, LAPACK with complex numbers and the FFT included — so no extra libraries ship with the application, and MtxVec runs natively on Intel and Apple silicon without Rosetta. On Android and iOS the math functions call libm directly, about 20× faster than through the Delphi units. On macOS, iOS and Android MtxVec builds as the Core Edition, from Pascal source. On Windows, a fast and accurate scalar math library of its own serves the code that cannot be vectorized.
C++Builder
Native C++ style on the Delphi library: declare vectors and matrices as local variables and use operator overloading. The modern C++ platform compiles with the COFF library format for faster code.
Documentation and examples
The online help documents every class and function for Delphi and C++Builder. Sample programs for VCL and for FireMonkey are on GitHub, and the executable demos of MtxVec, DSP Master and Stats Master, each in a VCL and a FireMonkey version, download in one package (136 MB).
High Performance String Library
Scope string operations to only what is needed, scale linearly across threads and make use of vectorised string processing using AVX2 and AVX512.
Compilers
- Delphi and C++Builder XE3 up to 13 Florence, 32- and 64-bit
- 64-bit C++Builder since XE4
- Fast function inlining for Delphi since XE6; simplified array syntax since XE7
- FireMonkey with Delphi 11 Alexandria or newer
- 32-bit applications reach a 4 GB address space on 64-bit Windows, 3 GB on 32-bit — how to enable it
- The trial needs an up-to-date compiler and does not work with trial versions of Delphi
Try MtxVec free
All our Delphi and C++Builder products come in a single Dew Lab Studio installer, and the trial can be used for unlimited time for educational purposes. A license covers all MtxVec versions, with or without source code.