.. _examples: Usage examples: serial solvers ============================== These examples show how to find a few smallest eigenvalues of a real symmetric matrix and their respective eigenvectors. The matrix is a banded one with the bandwidth equal to 5. Note that the matrix is never stored in memory and is defined only by the rule of how it acts on a vector. .. _example_eigen: Eigen 3 ------- .. literalinclude:: ../../example/eigen.example.cpp :language: cpp :lines: 14- :linenos: .. _example_blaze: Blaze ----- .. literalinclude:: ../../example/blaze.example.cpp :language: cpp :lines: 14- :linenos: .. _example_armadillo: Armadillo --------- .. literalinclude:: ../../example/armadillo.example.cpp :language: cpp :lines: 14- :linenos: .. _example_ublas: Boost uBLAS ----------- .. literalinclude:: ../../example/ublas.example.cpp :language: cpp :lines: 14- :linenos: .. _example_triqs: TRIQS arrays ------------ .. literalinclude:: ../../example/triqs.example.cpp :language: cpp :lines: 14- :linenos: .. _example_nda: TRIQS/nda --------- .. literalinclude:: ../../example/nda.example.cpp :language: cpp :lines: 14- :linenos: .. _example_xtensor: xtensor ------- .. literalinclude:: ../../example/xtensor.example.cpp :language: cpp :lines: 14- :linenos: