<s>
Matrix	B-Application
Toolkit	I-Application
Java	I-Application
(	O
MTJ	O
)	O
is	O
an	O
open-source	B-Application
Java	B-Language
software	B-Library
library	I-Library
for	O
performing	O
numerical	O
linear	B-Language
algebra	I-Language
.	O
</s>
<s>
The	O
library	O
contains	O
a	O
full	O
set	O
of	O
standard	O
linear	B-Language
algebra	I-Language
operations	O
for	O
dense	O
matrices	O
based	O
on	O
BLAS	B-Application
and	O
LAPACK	B-Application
code	O
.	O
</s>
<s>
Partial	O
set	O
of	O
sparse	B-Algorithm
operations	O
is	O
provided	O
through	O
the	O
Templates	O
project	O
.	O
</s>
<s>
The	O
library	O
can	O
be	O
configured	O
to	O
run	O
as	O
a	O
pure	O
Java	B-Language
library	O
or	O
use	O
BLAS	B-Application
machine-optimized	O
code	O
through	O
the	O
Java	B-Language
Native	I-Language
Interface	I-Language
.	O
</s>
<s>
Performance	O
of	O
MTJ	O
has	O
been	O
compared	O
to	O
other	O
libraries	O
,	O
which	O
can	O
be	O
found	O
at	O
Java	B-Language
Matrix	O
Benchmark	O
's	O
site	O
.	O
</s>
<s>
Datastructures	O
for	O
dense	O
and	O
structured	O
sparse	B-Algorithm
matrices	I-Algorithm
in	O
the	O
following	O
formats	O
:	O
</s>
<s>
Datastructures	O
for	O
unstructured	O
sparse	B-Algorithm
matrices	I-Algorithm
in	O
these	O
formats	O
:	O
</s>
<s>
Flexible	O
CRS/CCS	O
,	O
using	O
growable	O
sparse	B-Algorithm
vectors	I-Algorithm
.	O
</s>
<s>
The	O
dense	O
and	O
structured	O
sparse	B-Algorithm
matrices	I-Algorithm
are	O
built	O
on	O
top	O
of	O
BLAS	B-Application
and	O
LAPACK	B-Application
,	O
and	O
include	O
the	O
following	O
intrinsic	O
operations	O
:	O
</s>
<s>
The	O
unstructured	O
sparse	B-Algorithm
matrices	I-Algorithm
supports	O
the	O
same	O
operations	O
as	O
the	O
structured	O
ones	O
,	O
except	O
they	O
do	O
not	O
have	O
direct	O
solvers	O
.	O
</s>
<s>
Matrix	O
decompositions	O
of	O
dense	O
and	O
structured	O
sparse	B-Algorithm
matrices	I-Algorithm
:	O
</s>
<s>
Orthogonal	B-Algorithm
matrix	I-Algorithm
decompositions	O
for	O
dense	O
matrices	O
(	O
QR	O
,	O
RQ	O
,	O
LQ	O
,	O
and	O
QL	O
)	O
.	O
</s>
<s>
Iterative	O
solvers	O
for	O
unstructured	O
sparse	B-Algorithm
matrices	I-Algorithm
from	O
the	O
Templates	O
project	O
:	O
</s>
