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