<s>
Armadillo	B-Language
is	O
a	O
linear	B-Language
algebra	I-Language
software	B-Library
library	I-Library
for	O
the	O
C++	B-Language
programming	I-Language
language	I-Language
.	O
</s>
<s>
It	O
aims	O
to	O
provide	O
efficient	O
and	O
streamlined	O
base	O
calculations	O
,	O
while	O
at	O
the	O
same	O
time	O
having	O
a	O
straightforward	O
and	O
easy-to-use	O
interface	B-Application
.	O
</s>
<s>
Dense	O
and	O
sparse	B-Algorithm
matrices	I-Algorithm
are	O
supported	O
.	O
</s>
<s>
Various	O
matrix	O
decompositions	O
are	O
provided	O
through	O
optional	O
integration	O
with	O
Linear	B-Application
Algebra	I-Application
PACKage	I-Application
(	O
LAPACK	B-Application
)	O
,	O
Automatically	B-Language
Tuned	I-Language
Linear	I-Language
Algebra	I-Language
Software	I-Language
(	O
ATLAS	B-Language
)	O
,	O
and	O
ARPACK	B-Application
.	O
</s>
<s>
High-performance	O
BLAS/LAPACK	O
replacement	O
libraries	O
such	O
as	O
OpenBLAS	B-Application
and	O
Intel	B-Language
MKL	I-Language
can	O
also	O
be	O
used	O
.	O
</s>
<s>
The	O
library	O
employs	O
a	O
delayed-evaluation	O
approach	O
(	O
during	O
compile	B-Application
time	I-Application
)	O
to	O
combine	O
several	O
operations	O
into	O
one	O
and	O
reduce	O
(	O
or	O
eliminate	O
)	O
the	O
need	O
for	O
temporaries	O
.	O
</s>
<s>
Delayed	O
evaluation	O
and	O
optimisation	O
are	O
achieved	O
through	O
template	B-Language
metaprogramming	I-Language
.	O
</s>
<s>
Armadillo	B-Language
is	O
related	O
to	O
the	O
Boost	B-Language
Basic	O
Linear	B-Language
Algebra	I-Language
Subprograms	O
(	O
uBLAS	B-Language
)	O
library	O
,	O
which	O
also	O
uses	O
template	B-Language
metaprogramming	I-Language
.	O
</s>
<s>
However	O
,	O
Armadillo	B-Language
builds	O
upon	O
ATLAS	B-Language
and	O
LAPACK	B-Application
libraries	O
,	O
thereby	O
providing	O
machine-dependent	O
optimisations	O
and	O
functions	O
not	O
present	O
in	O
uBLAS	B-Language
.	O
</s>
<s>
It	O
is	O
open-source	B-Application
software	I-Application
distributed	O
under	O
the	O
permissive	O
Apache	B-Application
License	I-Application
,	O
making	O
it	O
applicable	O
for	O
the	O
development	O
of	O
both	O
open	B-Application
source	I-Application
and	O
proprietary	B-Application
software	I-Application
.	O
</s>
<s>
An	O
interface	B-Application
to	O
the	O
Python	B-Language
language	I-Language
is	O
available	O
through	O
the	O
package	O
,	O
</s>
<s>
which	O
facilitates	O
prototyping	O
of	O
algorithms	O
in	O
Python	B-Language
followed	O
by	O
relatively	O
straightforward	O
conversion	O
to	O
C++	B-Language
.	O
</s>
<s>
Here	O
is	O
a	O
trivial	O
example	O
demonstrating	O
Armadillo	B-Language
functionality	O
:	O
</s>
<s>
Here	O
is	O
another	O
trivial	O
example	O
in	O
C++	B-Language
98	O
:	O
</s>
