main()
function and use only functions/classes from Armadillo and the standard C++ library (no other libraries).
We appreciate your time to make a bug report.
Conrad Sanderson and Ryan Curtin.
Armadillo: a template-based C++ library for linear algebra.
Journal of Open Source Software, Vol. 1, pp. 26, 2016.
Conrad Sanderson and Ryan Curtin.
A User-Friendly Hybrid Sparse Matrix Class in C++.
International Congress on Mathematical Software, 2018.
g++ prog.cpp -o prog -O2 -larmadillo
ARMA_DONT_USE_WRAPPER
before including the armadillo header.
For example:
#define ARMA_DONT_USE_WRAPPER #include <armadillo>
-llapack -lblas
with -framework Accelerate
-lblas -llapack
to -lopenblas -llapack
-O3
optimisation.
For example, compile your code using:
g++ prog.cpp -o prog -O3 -larmadilloTo get further speedups (ie. to use SSE3, SSE4, or AVX instructions), or to enable SSE2 on 32 bit machines, add the
-march=native
option.
For example:
g++ prog.cpp -o prog -O3 -march=native -larmadillo
g++ prog.cpp -o prog -O3 -larmadillo -std=c++11 -fopenmpCaveat: when using GCC, use of
-march=native
in conjunction with -fopenmp
may lead to speed regressions on recent processors.
MLPACK | fast machine learning & pattern recognition library | |
matlab2cpp | tool for converting Matlab code to C++ | |
SigPack | C++ signal processing library | |
RcppArmadillo | bridge between R and Armadillo, on which 400+ other packages depend | |
PyJet | speed up Python / NumPy code via automatic conversion to C++ | |
armanpy | Armadillo bindings/interface to Python (NumPy) | |
Bandicoot | GPU accelerator add-on for Armadillo | |
libpca | principal component analysis library | |
nmflibrary | distributed non-negative matrix factorisation | |
SmartGridToolbox | Smart Grid simulation library | |
gplib | C++ Gaussian process library | |
foreground | robust foreground estimation / background subtraction algorithm | |
groupsac | algorithm for geometric vision problems | |
GRASTA | low rank subspace object tracking | |
background_est | clean background estimation from cluttered scenes | |
ERKALE | quantum chemistry | |
SMART+ | analysis of mechanics of materials | |
libdynamica | numerical methods used in physics | |
ECOC PAK | error correcting output codes | |
NeuralNet | GPU / CPU implementation of a feed forward neural network | |
AVRS | acoustic virtual reality system | |
bnp | inference in a hierarchical Dirichlet process model | |
KL1p | compressed sensing / sparse coding | |
Gadgetron | medical image reconstruction | |
molotov | motif locator (genetics) | |
OptGpSampler | sampling genome-scale metabolic networks | |
GStream | genetics (SNP and CNV genotyping) | |
Vespucci | tool for spectroscopic data analysis and imaging | |
GNSS-SDR | global navigation satellite system receiver | |
Flow123d | simulator of underground water flow | |
SOT | surrogate based optimization algorithms | |
liger | integrated optimisation environment | |
L0Learn | efficient algorithms for L0 regularised learning |