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