Supported since Delphi 2006
It was Delphi 2006 that first introduced the ability to overload operators on records. This feature enabled MtxVec to add high performance support for using vectors, matrices and complex numbers in expressions.
It is possible to mix vectors, matrices, complex numbers and scalars in the Delphi code. It is sufficient to declare the type as Vector or Matrix without the need to worry about object creation or destruction. Freeing of objects is automatically wrapped by the compiler in to try/finally blocks. Internally object and memory allocations are cached ensuring best in class performance. The syntax is best demonstrated by an example:
MtxVec Expressions are available for Delphi/C++Builder 2006 and later.