Interface DecompositionSparseInterface<T extends Matrix>
-
- Type Parameters:
T-
- All Superinterfaces:
DecompositionInterface<T>
- All Known Subinterfaces:
CholeskySparseDecomposition<MatrixType>,CholeskySparseDecomposition_F32<MatrixType>,CholeskySparseDecomposition_F64<MatrixType>,LUSparseDecomposition<MatrixType>,LUSparseDecomposition_F32<T>,LUSparseDecomposition_F64<T>,QRSparseDecomposition<T>
public interface DecompositionSparseInterface<T extends Matrix> extends DecompositionInterface<T>
Decomposition for sparse matrices. For direct solvers the structure often needs to be determined first. This interface provides the capability to lock that structure in place and speed up future calculations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisStructureLocked()Checks to see if the structure is locked.voidsetStructureLocked(boolean lock)Save results from structural analysis step.-
Methods inherited from interface org.ejml.interfaces.decomposition.DecompositionInterface
decompose, inputModified
-
-
-
-
Method Detail
-
setStructureLocked
void setStructureLocked(boolean lock)
Save results from structural analysis step. This can reduce computations if a matrix with the exactly same non-zero pattern is decomposed in the future. If a matrix has yet to be processed then the structure of the next matrix is saved. If a matrix has already been processed then the structure of the most recently processed matrix will be saved.
-
isStructureLocked
boolean isStructureLocked()
Checks to see if the structure is locked.- Returns:
- true if locked or false if not locked.
-
-