| org.jfree.data.xy.MatrixSeries org.jfree.data.xy.NormalizedMatrixSeries
NormalizedMatrixSeries | public class NormalizedMatrixSeries extends MatrixSeries (Code) | | Represents a dense normalized matrix M[i,j] where each Mij item of the
matrix has a value (default is 0). When a matrix item is observed using
getItem method, it is normalized, that is, divided by the
total sum of all items. It can be also be scaled by setting a scale factor.
|
Method Summary | |
public Number | getItem(int itemIndex) Returns an item.
Parameters: itemIndex - the index. | public double | getScaleFactor() Returns the factor that multiplies each item in this series when
observed using getItem mehtod. | public void | setScaleFactor(double factor) Sets the factor that multiplies each item in this series when observed
using getItem mehtod. | public void | update(int i, int j, double mij) | public void | zeroAll() |
DEFAULT_SCALE_FACTOR | final public static double DEFAULT_SCALE_FACTOR(Code) | | The default scale factor.
|
NormalizedMatrixSeries | public NormalizedMatrixSeries(String name, int rows, int columns)(Code) | | Constructor for NormalizedMatrixSeries.
Parameters: name - the series name. Parameters: rows - the number of rows. Parameters: columns - the number of columns. |
getScaleFactor | public double getScaleFactor()(Code) | | Returns the factor that multiplies each item in this series when
observed using getItem mehtod.
The factor |
setScaleFactor | public void setScaleFactor(double factor)(Code) | | Sets the factor that multiplies each item in this series when observed
using getItem mehtod.
Parameters: factor - new factor to set. See Also: NormalizedMatrixSeries.DEFAULT_SCALE_FACTOR |
Fields inherited from org.jfree.data.xy.MatrixSeries | protected double[][] data(Code)(Java Doc)
|
|
|