In this tutorial the eigenvalues and eigenvectors of a symmetric 9-by-9 matrix are calculated using the QR-method.
The first step is to include the necessary headers and to define the floating point type used.
Helper routine for initializing a ViennaCL matrix and returning its associated eigenvalues
Helper routine: Print an STL vector
Create a system of size 9-by-9 with known eigenvalues and compare it with the eigenvalues computed from the QR method implemented in ViennaCL.
Call the function qr_method_sym() to calculate eigenvalues and eigenvectors Parameters:
: QR method for dense systems