Documentation of 'Jampack.Zspec' Java class
Zspec
Jampack

Class Zspec



  • public class Zspec
    extends java.lang.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.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      Zdiagmat D
      The matrix of eigenvalues
      Zmat U
      The matrix of eigenvectors
    • Constructor Summary

      Constructors 
      Constructor and Description
      Zspec(Zmat AA)
      Creates a Zspec from Zmat.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • U

        public Zmat U
        The matrix of eigenvectors
      • D

        public Zdiagmat D
        The matrix of eigenvalues
    • Constructor Detail

      • 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
        Throws:
        JampackException - Thown if AA is not Hermitian.
        Passed from below.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.