Package org.seamcat.model.functions
Interface MatrixFunction
-
public interface MatrixFunction
A Matrix Function is a two dimensional list of Functions. * | 0 | 1 | 2 | 4 | a | b | c | 5 | d | e | f | The following data will have the corresponding matrix function instance (m): m.rowCount() == 2 m.colCount() == 3 m.value(0,1) == b The interpolate function will linearly interpolate any point within the row-range and col-range, e.g.interpolate(4.1, 0.44)
For the given example the row-range is [4-5] and the col-range is [0-2]. The UI will allow editing of the data and import from cvs, xls, xlsx files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
colCount()
double
evaluateMax()
double
evaluateMin()
Bounds
getRangeColumn()
Bounds
getRangeRow()
double
getValue(int row, int col)
double
interpolate(double rowValue, double colValue)
int
rowCount()
-
-
-
Method Detail
-
rowCount
int rowCount()
-
colCount
int colCount()
-
getValue
double getValue(int row, int col)
-
interpolate
double interpolate(double rowValue, double colValue)
-
evaluateMax
double evaluateMax()
-
evaluateMin
double evaluateMin()
-
getRangeRow
Bounds getRangeRow()
-
getRangeColumn
Bounds getRangeColumn()
-
-