Package org.ejml.data
Interface DMatrixSparse
-
- All Superinterfaces:
DMatrix,Matrix,MatrixSparse,ReshapeMatrix,java.io.Serializable
- All Known Implementing Classes:
DMatrixSparseCSC,DMatrixSparseTriplet
public interface DMatrixSparse extends DMatrix, MatrixSparse
High level interface for sparse matrices double types.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDMatrixSparse.CoordinateRealValueValue of an element in a sparse matrix
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Iterator<DMatrixSparse.CoordinateRealValue>createCoordinateIterator()Creates an iterator which will go through each non-zero value in the sparse matrix.-
Methods inherited from interface org.ejml.data.DMatrix
get, getNumElements, set, unsafe_get, unsafe_set
-
Methods inherited from interface org.ejml.data.Matrix
copy, create, createLike, getNumCols, getNumRows, getType, print, print, set
-
Methods inherited from interface org.ejml.data.MatrixSparse
getNonZeroLength, isAssigned, printNonZero, remove, reshape, reshape, shrinkArrays, zero
-
-
-
-
Method Detail
-
createCoordinateIterator
java.util.Iterator<DMatrixSparse.CoordinateRealValue> createCoordinateIterator()
Creates an iterator which will go through each non-zero value in the sparse matrix. Order is not defined and is implementation specific- Returns:
- Iterator
-
-