\EigenvalueDecomposition

Summary

Methods
Properties
Constants
__construct()
getV()
getRealEigenvalues()
getImagEigenvalues()
getD()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
tred2()
tql2()
orthes()
cdiv()
hqr2()
$n
$issymmetric
$d
$e
$V
$H
$ort
$cdivr
$cdivi
N/A

Properties

$n

$n

Row and column dimension (square matrix).

@var int

$issymmetric

$issymmetric

Internal symmetry flag.

@var int

$d

$d

Arrays for internal storage of eigenvalues.

@var array

$e

$e

$V

$V

Array for internal storage of eigenvectors.

@var array

$H

$H

Array for internal storage of nonsymmetric Hessenberg form.

@var array

$ort

$ort

Working storage for nonsymmetric algorithm.

@var array

$cdivr

$cdivr

Used for complex scalar division.

@var float

$cdivi

$cdivi

Methods

__construct()

__construct(mixed  $Arg) : mixed

Constructor: Check for symmetry, then construct the eigenvalue decomposition

@access public

Parameters

mixed $Arg

Returns

mixed —

getV()

getV() : \V

Return the eigenvector matrix

@access public

Returns

\V —

getRealEigenvalues()

getRealEigenvalues() : float|(\diag|(\D))

Return the real parts of the eigenvalues

@access public

Returns

float|(\diag|(\D)) —

getImagEigenvalues()

getImagEigenvalues() : \imag|(\diag|(\D))

Return the imaginary parts of the eigenvalues

@access public

Returns

\imag|(\diag|(\D)) —

getD()

getD() : \D

Return the block diagonal eigenvalue matrix

@access public

Returns

\D —

tred2()

tred2() : mixed

Symmetric Householder reduction to tridiagonal form.

@access private

Returns

mixed —

tql2()

tql2() : mixed

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.

Returns

mixed —

orthes()

orthes() : mixed

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.

Returns

mixed —

cdiv()

cdiv(mixed  $xr, mixed  $xi, mixed  $yr, mixed  $yi) : mixed

Performs complex division.

@access private

Parameters

mixed $xr
mixed $xi
mixed $yr
mixed $yi

Returns

mixed —

hqr2()

hqr2() : mixed

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.

Returns

mixed —