Operators |
eigenvalues_symmetric_matrix — Compute the eigenvalues and optionally eigenvectors of a symmetric matrix.
eigenvalues_symmetric_matrix( : : MatrixID, ComputeEigenvectors : EigenvaluesID, EigenvectorsID)
The operator eigenvalues_symmetric_matrix computes all eigenvalues and, optionally, eigenvectors of the symmetric Matrix . The matrix is defined by the matrix handle MatrixID. On output, a new matrix Eigenvalues with the eigenvalues in ascending order and, optionally, a new matrix Eigenvectors with the eigenvectors is created. The operator returns the matrix handles EigenvaluesID and EigenvectorsID of the matrices Eigenvalues and Eigenvectors . Access to the elements of the matrices is possible e.g. with the operator get_full_matrix.
The computation of eigenvectors can be selected via ComputeEigenvectors = 'true' or ComputeEigenvectors = 'false' .
Example:
The upper triangular part of the input Matrix must contain the relevant information of the matrix. The strictly lower triangular part of the matrix is not referenced. If the referenced part of the input Matrix is not of the specified type, an exception is raised.
Matrix handle of the input matrix.
Computation of the eigenvectors.
Default value: 'false'
List of values: 'false' , 'true'
Matrix handle with the eigenvalues.
Matrix handle with the eigenvectors.
If the parameters are valid, the operator eigenvalues_symmetric_matrix returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
get_full_matrix, get_value_matrix
generalized_eigenvalues_symmetric_matrix, generalized_eigenvalues_general_matrix
David Poole: “Linear Algebra: A Modern Introduction”; Thomson;
Belmont; 2006.
Gene H. Golub, Charles F. van Loan: “Matrix Computations”; The
Johns Hopkins University Press; Baltimore and London; 1996.
Foundation
Operators |