Class CursorToVectorIterator
java.lang.Object
org.la4j.iterator.CursorIterator
org.la4j.iterator.VectorIterator
org.la4j.iterator.CursorToVectorIterator
-
Field Summary
FieldsFields inherited from class VectorIterator
length -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class VectorIterator
andAlsoDivide, andAlsoMultiply, cursor, innerProduct, orElseAdd, orElseSubtractMethods inherited from class CursorIterator
andAlso, orElse, removeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
underlying
-
-
Constructor Details
-
CursorToVectorIterator
-
-
Method Details
-
index
public int index()Description copied from class:VectorIteratorReturns an index of the current cell.- Specified by:
indexin classVectorIterator- Returns:
- an index of the current cell
-
get
public double get()- Specified by:
getin classCursorIterator
-
set
public void set(double value) - Specified by:
setin classCursorIterator
-
hasNext
public boolean hasNext() -
next
-