public class SparseVector extends Object implements Vector
Constructor and Description |
---|
SparseVector(int size,
int[] indices,
double[] values) |
public int size()
Vector
public int[] indices()
public double[] values()
public String toString()
toString
in class Object
public double[] toArray()
Vector
public SparseVector copy()
Vector