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, orElseSubtractMethods inherited from class org.la4j.iterator.CursorIterator
andAlso, orElse, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
underlying
-
-
Constructor Details
-
CursorToRowMajorMatrixIterator
-
-
Method Details
-
rowIndex
public int rowIndex()- Specified by:
rowIndexin classMatrixIterator
-
columnIndex
public int columnIndex()- Specified by:
columnIndexin classMatrixIterator
-
get
public double get()- Specified by:
getin classCursorIterator
-
set
public void set(double value) - Specified by:
setin classCursorIterator
-
hasNext
public boolean hasNext() -
next
-