Class CholeskyDecompositionCommon_ZDRM

java.lang.Object
org.ejml.dense.row.decompose.chol.CholeskyDecompositionCommon_ZDRM
All Implemented Interfaces:
org.ejml.interfaces.decomposition.CholeskyDecomposition<org.ejml.data.ZMatrixRMaj>, org.ejml.interfaces.decomposition.CholeskyDecomposition_F64<org.ejml.data.ZMatrixRMaj>, org.ejml.interfaces.decomposition.DecompositionInterface<org.ejml.data.ZMatrixRMaj>
Direct Known Subclasses:
CholeskyDecompositionInner_ZDRM

public abstract class CholeskyDecompositionCommon_ZDRM extends Object implements org.ejml.interfaces.decomposition.CholeskyDecomposition_F64<org.ejml.data.ZMatrixRMaj>

This is an abstract class for a Cholesky decomposition. It provides the solvers, but the actual decomposition is provided in other classes.

See Also:
  • CholeskyDecomposition_F64
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.ejml.data.Complex_F64
     
    protected boolean
     
    protected int
     
    protected double[]
     
    protected org.ejml.data.ZMatrixRMaj
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Specifies if a lower or upper variant should be constructed.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.ejml.data.ZMatrixRMaj
    Returns the raw decomposed matrix.
    org.ejml.data.Complex_F64
     
    boolean
    decompose(org.ejml.data.ZMatrixRMaj mat)
    protected abstract boolean
    Performs an lower triangular decomposition.
    protected abstract boolean
    Performs an upper triangular decomposition.
    org.ejml.data.ZMatrixRMaj
    getT(@Nullable org.ejml.data.ZMatrixRMaj T)
     
    boolean
     
    boolean

    Methods inherited from class java.lang.Object

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

    • n

      protected int n
    • T

      protected org.ejml.data.ZMatrixRMaj T
    • t

      protected double[] t
    • lower

      protected boolean lower
    • det

      protected org.ejml.data.Complex_F64 det
  • Constructor Details

    • CholeskyDecompositionCommon_ZDRM

      protected CholeskyDecompositionCommon_ZDRM(boolean lower)
      Specifies if a lower or upper variant should be constructed.
      Parameters:
      lower - should a lower or upper triangular matrix be used.
  • Method Details

    • isLower

      public boolean isLower()
      Specified by:
      isLower in interface org.ejml.interfaces.decomposition.CholeskyDecomposition<org.ejml.data.ZMatrixRMaj>
    • decompose

      public boolean decompose(org.ejml.data.ZMatrixRMaj mat)
      Specified by:
      decompose in interface org.ejml.interfaces.decomposition.DecompositionInterface<org.ejml.data.ZMatrixRMaj>
    • inputModified

      public boolean inputModified()
      Specified by:
      inputModified in interface org.ejml.interfaces.decomposition.DecompositionInterface<org.ejml.data.ZMatrixRMaj>
    • decomposeLower

      protected abstract boolean decomposeLower()
      Performs an lower triangular decomposition.
      Returns:
      true if the matrix was decomposed.
    • decomposeUpper

      protected abstract boolean decomposeUpper()
      Performs an upper triangular decomposition.
      Returns:
      true if the matrix was decomposed.
    • getT

      public org.ejml.data.ZMatrixRMaj getT(@Nullable @Nullable org.ejml.data.ZMatrixRMaj T)
      Specified by:
      getT in interface org.ejml.interfaces.decomposition.CholeskyDecomposition<org.ejml.data.ZMatrixRMaj>
    • _getT

      public org.ejml.data.ZMatrixRMaj _getT()
      Returns the raw decomposed matrix.
      Returns:
      A lower or upper triangular matrix.
    • computeDeterminant

      public org.ejml.data.Complex_F64 computeDeterminant()
      Specified by:
      computeDeterminant in interface org.ejml.interfaces.decomposition.CholeskyDecomposition_F64<org.ejml.data.ZMatrixRMaj>