|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.lcsim.hmatrix.HMatrixBuilder
A class to construct an HMatrix.
HMatrix| Constructor Summary | |
HMatrixBuilder(int n,
int key)
Construct an n x n HMatrixBuilder. |
|
| Method Summary | |
void |
accumulate(double[] dat)
Add the measurement vector to the accumulated HMatrix |
HMatrix |
read(java.lang.String filename)
Reads the HMatrix from an ASCII file |
HMatrix |
readSerialized(java.lang.String filename)
Reads the HMatrix from a Serialized file |
java.lang.String |
toString()
Output Stream |
void |
validate()
Validates the HMatrix by performing the averages |
void |
write(java.lang.String filename,
java.lang.String comment)
Writes out the HMatrix to an ASCII file |
void |
writeSerialized(java.lang.String filename)
Writes the HMatrix to a Serialized file |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public HMatrixBuilder(int n,
int key)
n - The dimension of the measurement space.key - The key by which to index this HMatrix.| Method Detail |
public void accumulate(double[] dat)
dat - The array of measurements.public void validate()
public java.lang.String toString()
public void writeSerialized(java.lang.String filename)
filename - The file to which to write.public HMatrix readSerialized(java.lang.String filename)
filename - The Serialized file from which to read.
public HMatrix read(java.lang.String filename)
filename - The ASCII file from which to read.
public void write(java.lang.String filename,
java.lang.String comment)
filename - The file to which to write.comment - A comment for the header.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||