Documentation of 'org.ejml.alg.dense.decomposition.eig.WatchedDoubleStepQRDecomposition_D64' Java class
WatchedDoubleStepQRDecomposition_D64
org.ejml.alg.dense.decomposition.eig

Class WatchedDoubleStepQRDecomposition_D64

  • All Implemented Interfaces:
    DecompositionInterface<DenseMatrix64F>, EigenDecomposition<DenseMatrix64F>


    public class WatchedDoubleStepQRDecomposition_D64
    extends java.lang.Object
    implements EigenDecomposition<DenseMatrix64F>

    Finds the eigenvalue decomposition of an arbitrary square matrix using the implicit double-step QR algorithm. Watched is included in its name because it is designed to print out internal debugging information. This class is still underdevelopment and has yet to be optimized.

    Based off the description found in:
    David S. Watkins, "Fundamentals of Matrix Computations." Second Edition.

    • Constructor Detail

      • WatchedDoubleStepQRDecomposition_D64

        public WatchedDoubleStepQRDecomposition_D64(boolean computeVectors)
    • Method Detail

      • decompose

        public boolean decompose(DenseMatrix64F A)
        Description copied from interface: DecompositionInterface
        Computes the decomposition of the input matrix. Depending on the implementation the input matrix might be stored internally or modified. If it is modified then the function DecompositionInterface.inputModified() will return true and the matrix should not be modified until the decomposition is no longer needed.
        Specified by:
        decompose in interface DecompositionInterface<DenseMatrix64F>
        Parameters:
        A - The matrix which is being decomposed. Modification is implementation dependent.
        Returns:
        Returns if it was able to decompose the matrix.
      • getEigenvalue

        public Complex64F getEigenvalue(int index)
        Description copied from interface: EigenDecomposition

        Returns an eigenvalue as a complex number. For symmetric matrices the returned eigenvalue will always be a real number, which means the imaginary component will be equal to zero.

        NOTE: The order of the eigenvalues is dependent upon the decomposition algorithm used. This means that they may or may not be ordered by magnitude. For example the QR algorithm will returns results that are partially ordered by magnitude, but this behavior should not be relied upon.

        Specified by:
        getEigenvalue in interface EigenDecomposition<DenseMatrix64F>
        Parameters:
        index - Index of the eigenvalue eigenvector pair.
        Returns:
        An eigenvalue.
      • getEigenVector

        public DenseMatrix64F getEigenVector(int index)
        Description copied from interface: EigenDecomposition

        Used to retrieve real valued eigenvectors. If an eigenvector is associated with a complex eigenvalue then null is returned instead.

        Specified by:
        getEigenVector in interface EigenDecomposition<DenseMatrix64F>
        Parameters:
        index - Index of the eigenvalue eigenvector pair.
        Returns:
        If the associated eigenvalue is real then an eigenvector is returned, null otherwise.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.