| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttypes.SparseVector
public class SparseVector
a sparse vector implementation. Not necessarily the most efficient.
| Constructor Summary | |
|---|---|
| SparseVector() | |
| Method Summary | |
|---|---|
|  void | add(int index,
    double value) | 
|  int | getIndexAt(int i) | 
|  double | getValueAt(int i) | 
|  int | numEntries() | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public SparseVector()
| Method Detail | 
|---|
public void add(int index,
                double value)
public int getIndexAt(int i)
public double getValueAt(int i)
public int numEntries()
public String toString()
toString in class Object| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||