All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Jampack.Zspec

java.lang.Object
   |
   +----Jampack.Zspec

public class Zspec
extends Object
Zspec implements the spectral (eigenvalue-eigenvector) decomposition of a Hermitian matrix. Specifically, given a Hermitian matrix A there is a unitary matrix A and a real diagonal matrix D such that
      D = UHAU.
Zspec implements U as a Zmat and D as a Zdiagmat. It returns a JampackException if A is not Hermitian.

Comments: The decomposition is computed using . Schur. Eventually, there will be code that takes advantage of symmetry.
Since the diagonal matrix is real, it will be reimplemented as a Ddiagmat later.


Variable Index

 o D
The matrix of eigenvalues
 o U
The matrix of eigenvectors

Constructor Index

 o Zspec(Zmat)
Creates a Zspec from Zmat.

Variables

 o U
 public Zmat U
The matrix of eigenvectors

 o D
 public Zdiagmat D
The matrix of eigenvalues

Constructors

 o Zspec
 public Zspec(Zmat AA) throws JampackException
Creates a Zspec from Zmat. Throws a JampackException if the matrix is not Hermitian.

Parameters:
AA - A Zmat
Returns:
The spectral decomposition of A
Throws: JampackException
Thown if AA is not Hermitian.
Passed from below.

All Packages  Class Hierarchy  This Package  Previous  Next  Index