Class 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 java.lang.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 Summary

      Constructors 
      Constructor Description
      LuUpLooking_DSCC​(org.ejml.sparse.ComputePermutation<org.ejml.data.DMatrixSparseCSC> reduceFill)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.ejml.data.Complex_F64 computeDeterminant()  
      boolean decompose​(org.ejml.data.DMatrixSparseCSC A)  
      org.ejml.data.IGrowArray getGw()  
      org.ejml.data.IGrowArray getGxi()  
      org.ejml.data.DMatrixSparseCSC getL()  
      org.ejml.data.DMatrixSparseCSC getLower​(org.ejml.data.DMatrixSparseCSC lower)  
      int[] getPinv()  
      org.ejml.sparse.ComputePermutation<org.ejml.data.DMatrixSparseCSC> getReduceFill()  
      int[] getReducePermutation()  
      org.ejml.data.DMatrixSparseCSC getRowPivot​(org.ejml.data.DMatrixSparseCSC pivot)  
      int[] getRowPivotV​(org.ejml.data.IGrowArray pivot)  
      org.ejml.data.DMatrixSparseCSC getU()  
      org.ejml.data.DMatrixSparseCSC getUpper​(org.ejml.data.DMatrixSparseCSC upper)  
      boolean inputModified()  
      boolean isSingular()  
      boolean isStructureLocked()  
      void setStructureLocked​(boolean locked)  
      • Methods inherited from class java.lang.Object

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

      • LuUpLooking_DSCC

        public LuUpLooking_DSCC​(org.ejml.sparse.ComputePermutation<org.ejml.data.DMatrixSparseCSC> reduceFill)
    • Method Detail

      • 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​(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​(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​(org.ejml.data.DMatrixSparseCSC pivot)
        Specified by:
        getRowPivot in interface org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.DMatrixSparseCSC>
      • getRowPivotV

        public int[] getRowPivotV​(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()
      • 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>