Package org.la4j.iterator
Class CursorToColumnMajorMatrixIterator
java.lang.Object
org.la4j.iterator.MatrixIterator
org.la4j.iterator.ColumnMajorMatrixIterator
org.la4j.iterator.CursorToColumnMajorMatrixIterator
-
Field Summary
Fields inherited from class org.la4j.iterator.MatrixIterator
columns, rows -
Constructor Summary
ConstructorsConstructorDescriptionCursorToColumnMajorMatrixIterator(org.la4j.iterator.CursorIterator underlying, int rows, int columns) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.la4j.iterator.CursorIteratorandAlso(org.la4j.iterator.CursorIterator those, org.la4j.iterator.JoinFunction function) intdoubleget()booleanhasNext()next()protected org.la4j.iterator.CursorIteratororElse(org.la4j.iterator.CursorIterator those, org.la4j.iterator.JoinFunction function) voidremove()introwIndex()voidset(double value) Methods inherited from class org.la4j.iterator.ColumnMajorMatrixIterator
andAlsoDivide, andAlsoMultiply, cursor, orElseAdd, orElseSubtractMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
CursorToColumnMajorMatrixIterator
public CursorToColumnMajorMatrixIterator(org.la4j.iterator.CursorIterator underlying, int rows, int columns)
-
-
Method Details
-
rowIndex
public int rowIndex()- Specified by:
rowIndexin classMatrixIterator
-
columnIndex
public int columnIndex()- Specified by:
columnIndexin classMatrixIterator
-
get
public double get() -
set
public void set(double value) -
hasNext
public boolean hasNext() -
next
-
orElse
protected org.la4j.iterator.CursorIterator orElse(org.la4j.iterator.CursorIterator those, org.la4j.iterator.JoinFunction function) -
andAlso
protected org.la4j.iterator.CursorIterator andAlso(org.la4j.iterator.CursorIterator those, org.la4j.iterator.JoinFunction function) -
remove
public void remove()
-