Class MatrixIterator
java.lang.Object
org.la4j.iterator.MatrixIterator
- Direct Known Subclasses:
ColumnMajorMatrixIterator, RowMajorMatrixIterator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.la4j.iterator.CursorIteratorandAlso(org.la4j.iterator.CursorIterator those, org.la4j.iterator.JoinFunction function) abstract MatrixIteratorandAlsoDivide(MatrixIterator those) abstract MatrixIteratorandAlsoMultiply(MatrixIterator those) abstract intprotected abstract intcursor()abstract doubleget()protected org.la4j.iterator.CursorIteratororElse(org.la4j.iterator.CursorIterator those, org.la4j.iterator.JoinFunction function) abstract MatrixIteratororElseAdd(MatrixIterator those) abstract MatrixIteratororElseSubtract(MatrixIterator those) voidremove()abstract introwIndex()abstract voidset(double value) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining, hasNext, next
-
Field Details
-
rows
protected final int rows -
columns
protected final int columns
-
-
Constructor Details
-
MatrixIterator
public MatrixIterator(int rows, int columns)
-
-
Method Details
-
rowIndex
public abstract int rowIndex() -
columnIndex
public abstract int columnIndex() -
orElseAdd
-
orElseSubtract
-
andAlsoMultiply
-
andAlsoDivide
-
get
public abstract double get() -
set
public abstract void set(double value) -
cursor
protected abstract int cursor() -
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
-