Copyright (C) 2016 Peter Rakyta, Ph.D.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
Description
Gateway routine to call the dggev function from LAPACKE package. Solves the generalized eigenvalue problem and calculates the left and right sided eigenvectors and the eigenvalues.
Syntax
[eigenvecs_right, eigenvecs_left, eigvals] = dggev(A, B)
Parameters |
A
|
Double valued square, nonsymmetric real matrix .
|
B
|
Double valued quare, nonsymmetric real matrix .
|
Return |
eigenvecs_right
|
A matrix containing of the right sided eigenvectors in the columns of the matrix.
|
eigenvecs_left
|
A matrix containing of the left sided eigenvectors in the columns of the matrix.
|
eigvals
|
An array of the calculetd eigenvalues.
|