-
- Description:
Armadillo is a template C++ linear algebra library (matrix maths) aiming towards a good balance between speed and ease of use. The API is similar to MATLAB.
Integer, floating point and complex numbers are supported, as well as a subset of trigonometric and statistics functions. Various matrix decompositions are provided via an optional integration with LAPACK, or one of its high performance drop-in replacements (eg. Intel MKL, AMD ACML, or OpenBLAS).
A delayed evaluation approach is employed (at compile time) to combine several operations into one and reduce (or eliminate) the need for temporaries. This is automatically accomplished through recursive templates and template meta-programming.
Useful for conversion of research code into production environments, or if C++ has been decided as the language of choice, due to speed and/or integration capabilities.
Distributed under a license that is useful in both open-source and commercial/proprietary contexts.
Primarily developed at NICTA (Australia) by Conrad Sanderson, with contributions from around the world.
- Changes to previous version:
- faster find()
- faster transpose of sparse matrices
- faster inverse of matrices marked as diagonal
- more efficient handling of aliasing during matrix multiplication
- added find_finite() and find_nonfinite() for finding indices of finite and non-finite elements
- expressions X=inv(A) * B * C and X=A.i() * B * C are automatically converted to X=solve(A,B * C)
- cmake-based installer enables use of C++11 random number generator when using gcc 4.9+ in C++11 mode
Comments
No one has posted any comments yet. Perhaps you'd like to be the first?
Leave a comment
You must be logged in to post comments.