|
| MatrixOfTallies (int numRows, int numColumns) |
| Constructs a new unnamed matrix of tallies with numRows rows, and numColumns columns, and filled with null references. More...
|
|
| MatrixOfTallies (String name, int numRows, int numColumns) |
| Constructs a new matrix of tallies with name name , numRows rows, and numColumns columns, and filled with null references. More...
|
|
void | add (DoubleMatrix2D x) |
| Adds the observation x.get(r, c) in the tally whose row is r and column is c , for r = 0, …, umontreal.ssj.stat.matrix.MatrixOfStatProbes.rows - 1 , and c = 0, …, umontreal.ssj.stat.matrix.MatrixOfStatProbes.columns - 1 . More...
|
|
void | add (double[][] x) |
| Same as add(DoubleMatrix2D) for a 2D array.
|
|
int | numberObs () |
| Assuming that each tally in this matrix contains the same number of observations, returns the number of observations in tally (0, 0), or 0 if this matrix has 0 row or column. More...
|
|
boolean | areAllNumberObsEqual () |
| Tests that every tally in this matrix contains the same number of observations. More...
|
|
void | average (DoubleMatrix2D m) |
| Computes the average for each tally in the matrix. More...
|
|
void | variance (DoubleMatrix2D m) |
| For each tally in the matrix, computes the sample variance, and stores it into the given matrix. More...
|
|
void | standardDeviation (DoubleMatrix2D m) |
| For each tally in the matrix, computes the standard deviation, and stores it into the given matrix. More...
|
|
MatrixOfTallies< E > | clone () |
| Clones this object.
|
|
| MatrixOfStatProbes (int numRows, int numColumns) |
| Constructs a new unnamed matrix of statistical probes with numRows rows, and numColumns columns, and filled with null references. More...
|
|
| MatrixOfStatProbes (String name, int numRows, int numColumns) |
| Constructs a new matrix of statistical probes with name name , numRows rows, and numColumns columns, and filled with null references. More...
|
|
String | getName () |
| Returns the global name of this matrix of statistical probes. More...
|
|
void | setName (String name) |
| Sets the global name of this matrix to name . More...
|
|
int | rows () |
| Returns the number of rows in this matrix. More...
|
|
int | columns () |
| Returns the number of columns in this matrix. More...
|
|
void | setRows (int newRows) |
| Sets the number of rows of this matrix of statistical probes to newRows , adding or removing cells as necessary. More...
|
|
void | setColumns (int newColumns) |
| Similar to setRows(int), for setting the number of columns. More...
|
|
E | get (int r, int c) |
| Returns the statistical probe corresponding to the row r and column c . More...
|
|
void | set (int r, int c, E probe) |
| Sets the statistical probe corresponding to the row r and column c to probe . More...
|
|
void | init () |
| Initializes this matrix of statistical probes by calling StatProbe.init on each element.
|
|
void | sum (DoubleMatrix2D m) |
| For each probe in the matrix, computes the sum by calling umontreal.ssj.stat.StatProbe.sum, and stores it into the given matrix m . More...
|
|
void | average (DoubleMatrix2D m) |
| For each statistical probe in the matrix, computes the average by calling umontreal.ssj.stat.StatProbe.average, and stores it into the given matrix m . More...
|
|
boolean | isCollecting () |
| Determines if this matrix of statistical probes is collecting values. More...
|
|
void | setCollecting (boolean c) |
| Sets the status of the statistical collecting mechanism to c . More...
|
|
boolean | isBroadcasting () |
| Determines if this matrix of statistical probes is broadcasting values to registered observers. More...
|
|
void | setBroadcasting (boolean b) |
| Sets the status of the observation broadcasting mechanism to b . More...
|
|
void | addMatrixOfObservationListener (MatrixOfObservationListener l) |
| Adds the observation listener l to the list of observers of this matrix of statistical probes. More...
|
|
void | removeMatrixOfObservationListener (MatrixOfObservationListener l) |
| Removes the observation listener l from the list of observers of this matrix of statistical probes. More...
|
|
void | clearMatrixOfObservationListeners () |
| Removes all observation listeners from the list of observers of this matrix of statistical probes.
|
|
void | notifyListeners (DoubleMatrix2D x) |
| Notifies the observation x to all registered observers if broadcasting is ON. More...
|
|
List< E > | viewRow (int r) |
| Returns a list representing a view on row r of this matrix of statistical probe. More...
|
|
List< E > | viewColumn (int c) |
| Returns a list representing a view on column c of this matrix of statistical probe. More...
|
|
String | rowReport (int r) |
| Formats a report for the row r of the statistical probe matrix. More...
|
|
String | columnReport (int c) |
| Formats a report for the column c of the statistical probe matrix. More...
|
|
MatrixOfStatProbes< E > | clone () |
| Clones this object. More...
|
|
Iterator< E > | iterator () |
|
Represents a matrix of tally statistical collectors.
Each element of such a matrix is an instance of umontreal.ssj.stat.Tally, and observations can be added with the add(DoubleMatrix2D) method. This class defines factory methods to fill a newly-constructed matrix with Tally
or TallyStore
instances.