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

Class SymmetricQRAlgorithmDecomposition_D64

    • Constructor Detail

      • SymmetricQRAlgorithmDecomposition_D64

        public SymmetricQRAlgorithmDecomposition_D64(boolean computeVectors)
    • Method Detail

      • setComputeVectorsWithValues

        public void setComputeVectorsWithValues(boolean computeVectorsWithValues)
      • setMaxIterations

        public void setMaxIterations(int max)
        Used to limit the number of internal QR iterations that the QR algorithm performs. 20 should be enough for most applications.
        Parameters:
        max - The maximum number of QR iterations it will perform.
      • 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.
      • decompose

        public boolean decompose(DenseMatrix64F orig)
        Decomposes the matrix using the QR algorithm. Care was taken to minimize unnecessary memory copying and cache skipping.
        Specified by:
        decompose in interface DecompositionInterface<DenseMatrix64F>
        Parameters:
        orig - The matrix which is being decomposed. Not modified.
        Returns:
        true if it decomposed the matrix or false if an error was detected. This will not catch all errors.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.