资 源 简 介
SmallMatrix is a C++ Library for Linear Algebra that provides very fast classes for vector and matrix (generic, square and symmetric) in low dimensional context.
As dynamic memory allocation is really slow for small dimensional vector or matrix, generic Matrix/Vector libraries are not recommanded for that kind of purpose when it comes to performance. SmallMatrix was designed to avoid that by using fast static memory allocation.
To achieve great performance, SmallMatrix was coded with intensive use of:
Inlining
Template
Static memory allocation
Unroll Loop
Compile Time...
Metaprogramming
Traits
Static Polymorphism
SmallMatrix is easy to use and comes with help and sample files.
SmallMatrix consists of some header files. You only have to include "SmallMatrix.h". All classes are inside the namespace SmallMatrix to avoid colision with your work.
Tested compiler:<