Package org.nuiton.math.matrix
Interface SparseVector
-
- All Superinterfaces:
Vector
- All Known Implementing Classes:
DoubleSparseArrayVector
,DoubleSparseHashVector
public interface SparseVector extends Vector
- Version:
- $Revision$ Last update: $Date$ by : $Author$
- Author:
- poussin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long[]
getAssignedPosition()
Return an orderer array of position assigned, this array can be longer than realy assigned value, you must used getNumberOfAssignedValue to know number of significant position in arraydouble[]
getAssignedValue()
Return an array in same order that getAssignedPosition.double
getDefaultValue()
Value to used if not un assigned value-
Methods inherited from interface org.nuiton.math.matrix.Vector
add, forEach, forEachNotZero, getInfo, getMaxOccurence, getMaxOccurrence, getNumberOfAssignedValue, getValue, init, isImplementedAdd, isImplementedMap, isImplementedMinus, isImplementedPaste, iterator, iteratorNotZero, map, minus, paste, setValue, size
-
-
-
-
Method Detail
-
getDefaultValue
double getDefaultValue()
Value to used if not un assigned value- Returns:
-
getAssignedPosition
long[] getAssignedPosition()
Return an orderer array of position assigned, this array can be longer than realy assigned value, you must used getNumberOfAssignedValue to know number of significant position in array- Returns:
-
getAssignedValue
double[] getAssignedValue()
Return an array in same order that getAssignedPosition. This array contains values. This array can be longer than realy assigned value, you must used getNumberOfAssignedValue to know number of significant position in array- Returns:
-
-