Class TridiagonalDecompositionHouseholderOrig_FDRM

java.lang.Object
org.ejml.dense.row.decomposition.hessenberg.TridiagonalDecompositionHouseholderOrig_FDRM

@Generated("org.ejml.dense.row.decomposition.hessenberg.TridiagonalDecompositionHouseholderOrig_DDRM") public class TridiagonalDecompositionHouseholderOrig_FDRM extends Object

A straight forward implementation from "Fundamentals of Matrix Computations," Second Edition.

This is only saved to provide a point of reference in benchmarks.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    decompose(org.ejml.data.FMatrixRMaj A)
    Decomposes the provided symmetric matrix.
    float
    getGamma(int index)
     
    org.ejml.data.FMatrixRMaj
    getQ(@Nullable org.ejml.data.FMatrixRMaj Q)
    An orthogonal matrix that has the following property: T = QTAQ
    org.ejml.data.FMatrixRMaj
    Returns the interal matrix where the decomposed results are stored.
    org.ejml.data.FMatrixRMaj
    getT(@Nullable org.ejml.data.FMatrixRMaj T)
    Extracts the tridiagonal matrix found in the decomposition.
    void
    householderSymmetric(int row, float gamma)
    Performs the householder operations on left and right and side of the matrix.
    void
    init(org.ejml.data.FMatrixRMaj A)
    If needed declares and sets up internal data structures.

    Methods inherited from class java.lang.Object

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

    • TridiagonalDecompositionHouseholderOrig_FDRM

      public TridiagonalDecompositionHouseholderOrig_FDRM()
  • Method Details

    • getQT

      public org.ejml.data.FMatrixRMaj getQT()
      Returns the interal matrix where the decomposed results are stored.
    • getT

      public org.ejml.data.FMatrixRMaj getT(@Nullable @Nullable org.ejml.data.FMatrixRMaj T)
      Extracts the tridiagonal matrix found in the decomposition.
      Parameters:
      T - If not null then the results will be stored here. Otherwise a new matrix will be created.
      Returns:
      The extracted T matrix.
    • getQ

      public org.ejml.data.FMatrixRMaj getQ(@Nullable @Nullable org.ejml.data.FMatrixRMaj Q)
      An orthogonal matrix that has the following property: T = QTAQ
      Parameters:
      Q - If not null then the results will be stored here. Otherwise a new matrix will be created.
      Returns:
      The extracted Q matrix.
    • decompose

      public void decompose(org.ejml.data.FMatrixRMaj A)
      Decomposes the provided symmetric matrix.
      Parameters:
      A - Symmetric matrix that is going to be decomposed. Not modified.
    • householderSymmetric

      public void householderSymmetric(int row, float gamma)
      Performs the householder operations on left and right and side of the matrix. QTAQ
      Parameters:
      row - Specifies the submatrix.
      gamma - The gamma for the householder operation
    • init

      public void init(org.ejml.data.FMatrixRMaj A)
      If needed declares and sets up internal data structures.
      Parameters:
      A - Matrix being decomposed.
    • getGamma

      public float getGamma(int index)