ILIAS
eassessment Revision 61809
|
Public Member Functions | |
__construct ($Arg) | |
Constructor: Check for symmetry, then construct the eigenvalue decomposition. | |
getV () | |
Return the eigenvector matrix. | |
getRealEigenvalues () | |
Return the real parts of the eigenvalues. | |
getImagEigenvalues () | |
Return the imaginary parts of the eigenvalues. | |
getD () | |
Return the block diagonal eigenvalue matrix. |
Private Member Functions | |
tred2 () | |
Symmetric Householder reduction to tridiagonal form. | |
tql2 () | |
Symmetric tridiagonal QL algorithm. | |
orthes () | |
Nonsymmetric reduction to Hessenberg form. | |
cdiv ($xr, $xi, $yr, $yi) | |
Performs complex division. | |
hqr2 () | |
Nonsymmetric reduction from Hessenberg to real Schur form. |
Private Attributes | |
$n | |
$issymmetric | |
$d = array() | |
$e = array() | |
$V = array() | |
$H = array() | |
$ort | |
$cdivr | |
$cdivi |
Definition at line 24 of file EigenvalueDecomposition.php.
EigenvalueDecomposition::__construct | ( | $Arg | ) |
Constructor: Check for symmetry, then construct the eigenvalue decomposition.
public
A | Square matrix |
Definition at line 782 of file EigenvalueDecomposition.php.
References $issymmetric, $n, hqr2(), n, orthes(), tql2(), and tred2().
|
private |
Performs complex division.
private
Definition at line 373 of file EigenvalueDecomposition.php.
References $d.
Referenced by hqr2().
EigenvalueDecomposition::getD | ( | ) |
Return the block diagonal eigenvalue matrix.
public
Definition at line 849 of file EigenvalueDecomposition.php.
References $n.
EigenvalueDecomposition::getImagEigenvalues | ( | ) |
Return the imaginary parts of the eigenvalues.
public
Definition at line 838 of file EigenvalueDecomposition.php.
References $e.
EigenvalueDecomposition::getRealEigenvalues | ( | ) |
Return the real parts of the eigenvalues.
public
Definition at line 827 of file EigenvalueDecomposition.php.
References $d.
EigenvalueDecomposition::getV | ( | ) |
Return the eigenvector matrix.
public
Definition at line 816 of file EigenvalueDecomposition.php.
References n.
|
private |
Nonsymmetric reduction from Hessenberg to real Schur form.
Code is derived from the Algol procedure hqr2, by Martin and Wilkinson, Handbook for Auto. Comp., Vol.ii-Linear Algebra, and the corresponding Fortran subroutine in EISPACK.
private
Definition at line 398 of file EigenvalueDecomposition.php.
References $cdivi, $cdivr, $l, $n, $t, $x, $y, cdiv(), and n.
Referenced by __construct().
|
private |
Nonsymmetric reduction to Hessenberg form.
This is derived from the Algol procedures orthes and ortran, by Martin and Wilkinson, Handbook for Auto. Comp., Vol.ii-Linear Algebra, and the corresponding Fortran subroutines in EISPACK.
private
Definition at line 291 of file EigenvalueDecomposition.php.
Referenced by __construct().
|
private |
Symmetric tridiagonal QL algorithm.
This is derived from the Algol procedures tql2, by Bowdler, Martin, Reinsch, and Wilkinson, Handbook for Auto. Comp., Vol.ii-Linear Algebra, and the corresponding Fortran subroutine in EISPACK.
private
Definition at line 185 of file EigenvalueDecomposition.php.
References $f, $l, $n, and hypo().
Referenced by __construct().
|
private |
Symmetric Householder reduction to tridiagonal form.
private
Definition at line 76 of file EigenvalueDecomposition.php.
Referenced by __construct().
|
private |
Definition at line 68 of file EigenvalueDecomposition.php.
Referenced by hqr2().
|
private |
Definition at line 67 of file EigenvalueDecomposition.php.
Referenced by hqr2().
|
private |
Definition at line 42 of file EigenvalueDecomposition.php.
Referenced by cdiv(), and getRealEigenvalues().
|
private |
Definition at line 43 of file EigenvalueDecomposition.php.
Referenced by getImagEigenvalues().
|
private |
Definition at line 55 of file EigenvalueDecomposition.php.
|
private |
Definition at line 36 of file EigenvalueDecomposition.php.
Referenced by __construct().
|
private |
Definition at line 30 of file EigenvalueDecomposition.php.
Referenced by __construct(), getD(), hqr2(), orthes(), and tql2().
|
private |
Definition at line 61 of file EigenvalueDecomposition.php.
|
private |
Definition at line 49 of file EigenvalueDecomposition.php.