lizfcm/homeworks/hw-7.org

936 B

Homework 6

Question One

See UTEST(eigen, dominant_eigenvalue) in test/eigen.t.c and the entry Eigen-Adjacent -> dominant_eigenvalue in the LIZFCM API documentation.

Question Two

See UTEST(eigen, leslie_matrix_dominant_eigenvalue) in test/eigen.t.c and the entry Eigen-Adjacent -> leslie_matrix in the LIZFCM API documentation.

Question Three

See UTEST(eigen, least_dominant_eigenvalue) in test/eigen.t.c which finds the least dominant eigenvalue on the matrix:

\begin{bmatrix} 2 & 2 & 4 \\ 1 & 4 & 7 \\ 0 & 2 & 6 \end{bmatrix}

which has eigenvalues: $5 + \sqrt{17}, 2, 5 - \sqrt{17}$ and should produce $\sqrt{17}$.

See also the entry Eigen-Adjacent -> least_dominant_eigenvalue in the LIZFCM API documentation.