Package org.nuiton.math.matrix
Class SparseArrayVectorIterator
- java.lang.Object
-
- org.nuiton.math.matrix.SparseVectorIterator
-
- org.nuiton.math.matrix.SparseArrayVectorIterator
-
- All Implemented Interfaces:
VectorIterator
public class SparseArrayVectorIterator extends SparseVectorIterator
Implantation pour les sparse qui peuvent facilement retourner des tableaux trie des valeurs assignees- Version:
- $Revision$ Last update: $Date$ by : $Author$
- Author:
- poussin
-
-
Field Summary
Fields Modifier and Type Field Description protected long[]
assignedPosition
protected double[]
assignedValues
-
Fields inherited from class org.nuiton.math.matrix.SparseVectorIterator
assignedPos, assignedSize, defaultValue, exclude, hasExclude, nextPos, nextValue, pos, size, value, vector
-
-
Constructor Summary
Constructors Constructor Description SparseArrayVectorIterator(SparseVector vector)
SparseArrayVectorIterator(SparseVector vector, double exclude)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
getAssignedPosition(int pos)
protected double
getAssignedValues(int pos)
-
Methods inherited from class org.nuiton.math.matrix.SparseVectorIterator
computeNextPosAndValue, getPosition, getValue, getValue, hasNext, next, setExclude, setValue
-
-
-
-
Constructor Detail
-
SparseArrayVectorIterator
public SparseArrayVectorIterator(SparseVector vector)
-
SparseArrayVectorIterator
public SparseArrayVectorIterator(SparseVector vector, double exclude)
-
-