Package org.la4j.iterator
Class CursorToRowMajorMatrixIterator
java.lang.Object
org.la4j.iterator.CursorIterator
org.la4j.iterator.MatrixIterator
org.la4j.iterator.RowMajorMatrixIterator
org.la4j.iterator.CursorToRowMajorMatrixIterator
-
Field Summary
FieldsFields inherited from class org.la4j.iterator.MatrixIterator
columns, rows
-
Constructor Summary
ConstructorsConstructorDescriptionCursorToRowMajorMatrixIterator
(CursorIterator underlying, int rows, int columns) -
Method Summary
Methods inherited from class org.la4j.iterator.RowMajorMatrixIterator
andAlsoDivide, andAlsoMultiply, cursor, orElseAdd, orElseSubtract
Methods inherited from class org.la4j.iterator.CursorIterator
andAlso, orElse, remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
underlying
-
-
Constructor Details
-
CursorToRowMajorMatrixIterator
-
-
Method Details
-
rowIndex
public int rowIndex()- Specified by:
rowIndex
in classMatrixIterator
-
columnIndex
public int columnIndex()- Specified by:
columnIndex
in classMatrixIterator
-
get
public double get()- Specified by:
get
in classCursorIterator
-
set
public void set(double value) - Specified by:
set
in classCursorIterator
-
hasNext
public boolean hasNext() -
next
-