Package Details: armadillo 10.7.4-1

Git Clone URL: (read-only, click to copy)
Package Base: armadillo
Description: C++ linear algebra library
Upstream URL:
Licenses: Apache
Submitter: None
Maintainer: valandil
Last Packager: valandil
Votes: 54
Popularity: 1.22
First Submitted: 2009-12-14 16:43
Last Updated: 2021-11-28 19:36

Latest Comments

« First ‹ Previous 1 2 3 4

ivan-kryukov commented on 2014-06-03 04:00

Here is an updated PKGBUILD (4.300.8):

jellysheep commented on 2013-06-05 19:28

Hi, according to their project page, they release version 3.900.0.

big_gie commented on 2013-03-04 14:11

Version 3.800.0 is out and is MPL 2.0 licensed now.

Kknd commented on 2013-01-15 23:30


As far as I know,

Armadillo compiles without blas/lapack, but it is kinda useless, supporting only basic operations like matrix multiplication.

Here, I've just did:
$ pacman -S lapack

Linking with -larmadillo links with lapack and blas automatically. In fact, armadillo code resides almost all in headers. Linking with armadillo just links links with lapack and blas.

onefire commented on 2013-01-15 22:04

I could only use it after applying a patch to disable ARMA_USE_WRAPPER:

sed 's/#define ARMA_USE_WRAPPER/\/\/#define ARMA_USE_WRAPPER/g' /usr/include/armadillo_bits/config.hpp > tmp && mv tmp /usr/include/armadillo_bits/

My friend also had trouble installing it on his Mac, but the above command worked for him too.

After this, I can compile with something like:
g++ myprog.cpp -o myprog -llapack -lblas

Armadillo's website claims that blas and lapack are not strictly necessary, so I tried to install it on a minimal Arch install on Virtual Box. Then I could compile programs with just:
g++ myprog.cpp -o myprog -larmadillo

So my question is:
What is the correct way to install the library with blas and everything?

Kknd commented on 2012-12-17 22:22

I do not know what this means, since it does find boost latter, as evidenced by the latter output:

-- Boost version: 1.50.0
-- Boost_MAJOR_VERSION = 1
-- Boost_MINOR_VERSION = 50
-- Boost_INCLUDE_DIR = /usr/include

myles commented on 2012-12-17 21:43

Thanks for updating. I get this:
-- Configuring Armadillo 3.6.1
-- Could NOT find Boost

Anonymous comment on 2012-07-28 00:15

3.2.4 is out:

toffyrn commented on 2012-06-01 18:23

There is currently a issue with the newest armadillo versions (3.2.0/3.2.1) and gcc >4.7.0, see:
Just to keep you informed.

PedsXing commented on 2012-02-22 16:21

2.4.3 is out: