|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.optimizationservices.oscommon.datastructure.osgeneral.SparseVector
public class SparseVector
The SparseVector
class holds a two array
data structure for sparse representation of vector.
Field Summary | |
---|---|
int[] |
indexes
indexes holds an integer array of indexes, which corresponding values are nonzero. |
double[] |
values
values holds a double array of nonzero values. |
Constructor Summary | |
---|---|
SparseVector()
Default constructor. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
main for test purposes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int[] indexes
public double[] values
Constructor Detail |
---|
public SparseVector()
Method Detail |
---|
public static void main(java.lang.String[] args)
argv
- command line arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |