Package org.tribuo.math.la
Interface MatrixIterator
- All Superinterfaces:
Comparable<MatrixIterator>
,Iterator<MatrixTuple>
A
Comparable
Iterator
over MatrixTuple
s.
The comparison is based on the indices, not on the values. To use the comparator .next must have been called once.
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
Gets the MatrixTuple reference that this iterator updates.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
getReference
MatrixTuple getReference()Gets the MatrixTuple reference that this iterator updates.- Returns:
- The matrix tuple.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<MatrixIterator>
-