Package org.ejml.interfaces.linsol
Interface LinearSolverSparse<S extends Matrix,D extends Matrix>
- All Superinterfaces:
LinearSolver<S,
D>
- All Known Implementing Classes:
LinearSolverCholesky_DSCC
,LinearSolverCholesky_FSCC
,LinearSolverLu_DSCC
,LinearSolverLu_FSCC
,LinearSolverQrLeftLooking_DSCC
,LinearSolverQrLeftLooking_FSCC
,LinearSolverSparseSafe
,LinearSolverToSparse
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks to see if the structure is locked.void
setStructureLocked
(boolean locked) Save results from structural analysis step.void
solveSparse
(S B, S X) Solve against sparse matrices.Methods inherited from interface org.ejml.interfaces.linsol.LinearSolver
getDecomposition, modifiesA, modifiesB, quality, setA, solve
-
Method Details
-
solveSparse
Solve against sparse matrices. A*X=B. In most situations its more desirable to solve against a dense matrix because of fill in.- Parameters:
B
- Input. Never modified.X
- Output. Never modified.
-
setStructureLocked
void setStructureLocked(boolean locked) Save results from structural analysis step. This can reduce computations of 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.
-