Knowledge Base

Objects and numerics

Simplify the use of numerical algorithms

Object oriented numerics has several advantages:

  • Improved code readability,
  • less lines of code for same effect,
  • better error protection,
  • allows vectorization of operations, thus taking advantage of the latest CPU architectures.

It also has some drawbacks:

  • Overhead for handling objects, especially create and destroy
  • Overhead for handling small vectors and matrices.

MtxVec addresses the advantages to the full extent possible and introduces two techniques which decrease the performance drawback for handling objects and short vectors:

  • Pre-creation of objects (object cache) and
  • memory pre allocation.

All this makes MtxVec a very fast object oriented library.


© DewResearch 1997 - 2017 All Rights Reserved.
E-mail This email address is being protected from spambots. You need JavaScript enabled to view it..
Delphi & C++ Builder are registered trademarks of Embarcadero Corporation. All other brands and product names are trademarks or registered trademarks of their respective owners.