<s>
The	O
Matrix	B-Language
Template	I-Language
Library	I-Language
(	O
MTL	O
)	O
is	O
a	O
linear	B-Language
algebra	I-Language
library	B-Library
for	O
C++	B-Language
programs	I-Language
.	O
</s>
<s>
The	O
MTL	O
uses	O
template	B-Application
programming	I-Application
,	O
which	O
considerably	O
reduces	O
the	O
code	O
length	O
.	O
</s>
<s>
Furthermore	O
,	O
generic	B-Language
programming	I-Language
allows	O
the	O
usage	O
of	O
arbitrary	O
types	O
as	O
long	O
as	O
they	O
provide	O
the	O
necessary	O
operations	O
.	O
</s>
<s>
boost::interval	O
)	O
from	O
the	O
Boost	B-Language
C++	I-Language
Libraries	I-Language
,	O
quaternions	O
(	O
e.g.	O
</s>
<s>
boost::quaternion	O
)	O
,	O
types	O
of	O
higher	O
precision	O
(	O
e.g.	O
</s>
<s>
GNU	B-Application
Multi-Precision	I-Application
Library	I-Application
)	O
and	O
appropriate	O
user-defined	O
types	O
.	O
</s>
<s>
The	O
MTL	O
supports	O
several	O
implementations	O
of	O
dense	B-Algorithm
matrices	I-Algorithm
and	O
sparse	B-Algorithm
matrices	I-Algorithm
.	O
</s>
<s>
loop	B-Operating_System
unrolling	I-Operating_System
of	O
dynamically	O
sized	O
containers	O
can	O
be	O
specified	O
in	O
the	O
function	O
call	O
.	O
</s>
<s>
v	O
+	O
=	O
A*q	O
-	O
w	O
;	O
,	O
while	O
the	O
library	B-Library
dispatches	O
to	O
the	O
appropriate	O
algorithms	O
:	O
matrix	O
vector	O
products	O
vs.	O
matrix	O
products	O
vs.	O
vector	O
scalar	O
products	O
etcetera	O
.	O
</s>
<s>
The	O
goal	O
is	O
to	O
encapsulate	O
performance	O
issues	O
inside	O
the	O
library	B-Library
and	O
provide	O
scientists	O
an	O
intuitive	O
interface	O
.	O
</s>
<s>
MTL4	O
is	O
used	O
in	O
different	O
finite	B-Application
element	I-Application
and	O
finite	B-Algorithm
volume	I-Algorithm
packages	O
,	O
e.g.	O
</s>
<s>
the	O
FEniCS	B-Language
Project	I-Language
.	O
</s>
