java.lang.Object
org.ujmp.core.doublematrix.calculation.general.decomposition.Eig.EigMatrix
Enclosing interface:
Eig<T>

public static final class Eig.EigMatrix extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private double
     
    private double
     
    private final double[]
    Arrays for internal storage of eigenvalues.
    private final double[]
    Arrays for internal storage of eigenvalues.
    private static final double
     
    private final double[][]
    Array for internal storage of nonsymmetric Hessenberg form.
    private boolean
    Symmetry flag.
    private final int
    Row and column dimension (square matrix).
    private final double[]
    Working storage for nonsymmetric algorithm.
    static final long
     
    private final double[][]
    Array for internal storage of eigenvectors.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Check for symmetry, then construct the eigenvalue decomposition
  • Method Summary

    Modifier and Type
    Method
    Description
    private final void
    cdiv(double xr, double xi, double yr, double yi)
     
    Return the block diagonal eigenvalue matrix
    final double[]
    Return the imaginary parts of the eigenvalues
    final double[]
    Return the real parts of the eigenvalues
    Return the eigenvector matrix
    private final void
     
    private final void
     
    private final void
     
    private final void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • EPSILON

      private static final double EPSILON
    • n

      private final int n
      Row and column dimension (square matrix).
    • issymmetric

      private boolean issymmetric
      Symmetry flag.
    • d

      private final double[] d
      Arrays for internal storage of eigenvalues.
    • e

      private final double[] e
      Arrays for internal storage of eigenvalues.
    • V

      private final double[][] V
      Array for internal storage of eigenvectors.
    • H

      private final double[][] H
      Array for internal storage of nonsymmetric Hessenberg form.
    • ort

      private final double[] ort
      Working storage for nonsymmetric algorithm.
    • cdivr

      private transient double cdivr
    • cdivi

      private transient double cdivi
  • Constructor Details

    • EigMatrix

      public EigMatrix(Matrix Arg)
      Check for symmetry, then construct the eigenvalue decomposition
      Parameters:
      A - Square matrix
  • Method Details

    • tred2

      private final void tred2()
    • tql2

      private final void tql2()
    • orthes

      private final void orthes()
    • cdiv

      private final void cdiv(double xr, double xi, double yr, double yi)
    • hqr2

      private final void hqr2()
    • getV

      public final DenseDoubleMatrix2D getV()
      Return the eigenvector matrix
      Returns:
      V
    • getRealEigenvalues

      public final double[] getRealEigenvalues()
      Return the real parts of the eigenvalues
      Returns:
      real(diag(D))
    • getImagEigenvalues

      public final double[] getImagEigenvalues()
      Return the imaginary parts of the eigenvalues
      Returns:
      imag(diag(D))
    • getD

      public final DenseDoubleMatrix2D getD()
      Return the block diagonal eigenvalue matrix
      Returns:
      D