armadillo
Armadillo
C++ linear algebra library
Data61

    About
    Support
    Questions
    Documentation
    Speed
    Contact
    Download

  
Stable Version
Old Versions   (not supported)

 

 
Related Software
  • MLPACK:  C++ machine learning library built on top of Armadillo
  • Mantella:  C++ library for analysing and solving optimisation problems
  • libpca:  library for principal component analysis and related transformations
  • armanpy:  interfaces Armadillo matrices with Python
  • matlab2cpp:  conversion of Matlab code to Armadillo based C++ code


Installation and Configuration Notes

  • All Platforms

    • Please see the README.txt file in the .tar.xz package

    • If you encounter any bugs or regressions, please report them

    • If you use Armadillo in your research and/or software, please cite the overview tech report;
      citations are useful for the continued development and maintenance of the library

    • If you use Armadillo in products, please obtain the commercial license

  • Linux   (Fedora, Ubuntu, Red Hat, SUSE, Debian, etc)

    • Before installing Armadillo, it's recommended to install LAPACK, BLAS and ATLAS, along with the corresponding development/header files.
       
    • For faster performance, instead of using standard BLAS we recommend using the multi-threaded OpenBLAS library
       
    • Many Linux-based operating systems provide pre-built Armadillo packages: Fedora, Debian, Ubuntu, openSUSE, Arch. These packages may not be the latest version. If you're encountering problems, use the official packages provided here.
       
    • Recommended packages for Fedora & Red Hat (installed before Armadillo): cmake, openblas-devel, lapack-devel, arpack-devel, SuperLU-devel
       
    • Recommended packages for Ubuntu & Debian (installed before Armadillo): cmake, libopenblas-dev, liblapack-dev, libarpack-dev.
       
    • If you're updating from a previous version, it's a good idea to remove all the old files before updating. The files are typically in /usr/include/armadillo, /usr/include/armadillo_bits, and the library files in /usr/lib/ or /usr/lib64/

  • Mac OS X

    • The "Accelerate" framework is used for accessing BLAS and LAPACK functions. See the README.txt file in the package for more information.
       
    • If you're updating from a previous version, it's a good idea to remove all the old files before updating. The files are typically in /usr/local/include/armadillo, /usr/local/include/armadillo_bits, and the library files in /usr/local/lib/
       
    • You can also install Armadillo via MacPorts or Homebrew. These packages may not be the latest version. If you're encountering problems, use the official packages provided here.

  
  
sourceforge