|
NeoBio API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines a minimal set of operations that a matrix must implement. This interface is used by the Smawk class to provide a general services regardless of how the matrix is actually stored.
Smawk
Method Summary | |
int |
numColumns()
Returns the number of columns that this matrix has. |
int |
numRows()
Returns the number of rows that this matrix has. |
int |
valueAt(int row,
int col)
Returns the value at an specified row and column. |
Method Detail |
public int valueAt(int row, int col)
row
- row number of element to be retrievedcol
- column number of element to be retrieved
row
column col
public int numRows()
public int numColumns()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |