|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--idl.tmt.representation.matrix.TmtVector
An encapsulated version of colt's DoubleMatrix1D, intended for use with the TmtMatrix class.
| Field Summary | |
protected DoubleMatrix1D |
theVector
|
| Constructor Summary | |
TmtVector(java.util.ArrayList a)
constructor for a vector from an arrayList of Doubles |
|
TmtVector(DoubleMatrix1D v)
constructor for a vector from a colt 1D matrix |
|
| Method Summary | |
void |
showVector()
prints the vector contents to stdout |
double[] |
toArray()
gets us an array of doubles for this vector |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected DoubleMatrix1D theVector
| Constructor Detail |
public TmtVector(DoubleMatrix1D v)
v - the 1D matrix to be stored as a vectorpublic TmtVector(java.util.ArrayList a)
v - the 1D matrix to be stored as a vector| Method Detail |
public void showVector()
public double[] toArray()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||