Class LuUpLooking_DSCC

java.lang.Object
org.ejml.sparse.csc.decomposition.lu.LuUpLooking_DSCC
All Implemented Interfaces:
org.ejml.interfaces.decomposition.DecompositionInterface<org.ejml.data.DMatrixSparseCSC>, org.ejml.interfaces.decomposition.DecompositionSparseInterface<org.ejml.data.DMatrixSparseCSC>, org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.DMatrixSparseCSC>, org.ejml.interfaces.decomposition.LUSparseDecomposition<org.ejml.data.DMatrixSparseCSC>, org.ejml.interfaces.decomposition.LUSparseDecomposition_F64<org.ejml.data.DMatrixSparseCSC>

public class LuUpLooking_DSCC extends Object implements org.ejml.interfaces.decomposition.LUSparseDecomposition_F64<org.ejml.data.DMatrixSparseCSC>
LU Decomposition using a left looking algorithm for DMatrixSparseCSC.

NOTE: Based mostly on the algorithm described on page 86 in csparse. cs_lu

NOTE: See in code comment for a modification from csparse.

  • Constructor Details

    • LuUpLooking_DSCC

      public LuUpLooking_DSCC(@Nullable @Nullable org.ejml.sparse.ComputePermutation<org.ejml.data.DMatrixSparseCSC> reduceFill)
  • Method Details

    • decompose

      public boolean decompose(org.ejml.data.DMatrixSparseCSC A)
      Specified by:
      decompose in interface org.ejml.interfaces.decomposition.DecompositionInterface<org.ejml.data.DMatrixSparseCSC>
    • computeDeterminant

      public org.ejml.data.Complex_F64 computeDeterminant()
      Specified by:
      computeDeterminant in interface org.ejml.interfaces.decomposition.LUSparseDecomposition_F64<org.ejml.data.DMatrixSparseCSC>
    • getLower

      public org.ejml.data.DMatrixSparseCSC getLower(@Nullable @Nullable org.ejml.data.DMatrixSparseCSC lower)
      Specified by:
      getLower in interface org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.DMatrixSparseCSC>
    • getUpper

      public org.ejml.data.DMatrixSparseCSC getUpper(@Nullable @Nullable org.ejml.data.DMatrixSparseCSC upper)
      Specified by:
      getUpper in interface org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.DMatrixSparseCSC>
    • getRowPivot

      public org.ejml.data.DMatrixSparseCSC getRowPivot(@Nullable @Nullable org.ejml.data.DMatrixSparseCSC pivot)
      Specified by:
      getRowPivot in interface org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.DMatrixSparseCSC>
    • getRowPivotV

      public int[] getRowPivotV(@Nullable @Nullable org.ejml.data.IGrowArray pivot)
      Specified by:
      getRowPivotV in interface org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.DMatrixSparseCSC>
    • isSingular

      public boolean isSingular()
      Specified by:
      isSingular in interface org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.DMatrixSparseCSC>
    • inputModified

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

      public org.ejml.data.IGrowArray getGxi()
    • getGw

      public org.ejml.data.IGrowArray getGw()
    • getPinv

      public int[] getPinv()
    • getL

      public org.ejml.data.DMatrixSparseCSC getL()
    • getU

      public org.ejml.data.DMatrixSparseCSC getU()
    • isReduceFill

      public boolean isReduceFill()
    • getReduceFill

      public org.ejml.sparse.ComputePermutation<org.ejml.data.DMatrixSparseCSC> getReduceFill()
    • getReducePermutation

      public int[] getReducePermutation()
    • setStructureLocked

      public void setStructureLocked(boolean locked)
      Specified by:
      setStructureLocked in interface org.ejml.interfaces.decomposition.DecompositionSparseInterface<org.ejml.data.DMatrixSparseCSC>
    • isStructureLocked

      public boolean isStructureLocked()
      Specified by:
      isStructureLocked in interface org.ejml.interfaces.decomposition.DecompositionSparseInterface<org.ejml.data.DMatrixSparseCSC>