#include <gandalf/linalg/2x2matrix.h>
Go to the source code of this file.
Functions | |
Gan_Bool | gan_symmat22_eigen (Gan_SquMatrix22 *A, Gan_Vector2 *W, Gan_Matrix22 *Z) |
Eigenvalues and maybe eigenvectors of symmetric 2x2 matrix. |
Part of: Gandalf Library
Revision: Last edited: Author:
Copyright: (c) 2000 Imagineer Software Limited
|
Eigenvalues and maybe eigenvectors of symmetric 2x2 matrix. Computes the eigenvalues and, optionally, the eigenvectors of a symmetric 2x2 input matrix A, i.e. computing diagonal matrix W as the eigenvalues W, and orthogonal matrix of eigenvectors Z such that ![]()
If Z is passed as NOTE: the contents of A are NOT destroyed. The eigenvalues W are provided in ascending order. |