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