Package org.la4j.iterator
Class RowMajorMatrixIterator
java.lang.Object
org.la4j.iterator.CursorIterator
org.la4j.iterator.MatrixIterator
org.la4j.iterator.RowMajorMatrixIterator
- Direct Known Subclasses:
CursorToRowMajorMatrixIterator
-
Field Summary
Fields inherited from class org.la4j.iterator.MatrixIterator
columns, rows -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionandAlsoDivide(MatrixIterator those) andAlsoMultiply(MatrixIterator those) protected intcursor()orElseAdd(MatrixIterator those) orElseSubtract(MatrixIterator those) Methods inherited from class org.la4j.iterator.MatrixIterator
columnIndex, rowIndexMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next
-
Constructor Details
-
RowMajorMatrixIterator
public RowMajorMatrixIterator(int rows, int columns)
-
-
Method Details
-
cursor
protected int cursor()- Specified by:
cursorin classCursorIterator
-
orElseAdd
- Specified by:
orElseAddin classMatrixIterator
-
orElseSubtract
- Specified by:
orElseSubtractin classMatrixIterator
-
andAlsoMultiply
- Specified by:
andAlsoMultiplyin classMatrixIterator
-
andAlsoDivide
- Specified by:
andAlsoDividein classMatrixIterator
-