Dew Research has a library for Firemonkey on Windows called MtxVec that provides vector mathematical and statistical functions that are really fast. According to the feature list a version which supports Android and IOS is coming soon. In any event MtxVec supports most versions of Delphi and it has an optimized linear algebra numerical library (LAPACK the de-facto standard for linear algebra). It is also optimized to utilize the following CPU instruction sets for greater speed: SSE2, SSE3, SSE4.2, AVX v1.0 and AVX v2.0. It supports single and double precision within the same project in addition to muli-core support for many vector and matrix functions including matrix multiply, FFT’s, sparse matrix solvers, SVD, and EIG to name some. It comes with a Debugger Visualizer and an expression evaluator/scripter for vectorized math expression. According to their benchmarks this is what they have to say about the speed of MtxVec “How Fast is it Really? Most users observe typical performance improvements of 2x to 3x for vector functions, but speed increases up to 10x are often obtained. The matrix multiplication, for example, is up to 20x faster.” Sounds pretty good. This library is a commercial product but here is a free trial available. If you are doing any kind of expensive float point operations in your Delphi XE6 Firemonkey apps on Windows I would definitely take a look at this library to augment the performance of your app. This is what is to great about Delphi is being able to drop in a third party component or library and be up and running with the new functionality very quickly.

Head over and check out the full feature list for MtxVec on the Dew Research website and then download the free trial to check it out.