public interface Matrix
| Modifier and Type | Method and Description |
|---|---|
int |
get(int row,
int column)
Get an entry of the matrix.
|
int |
getColumns()
Get the number of columns in the matrix.
|
int |
getRows()
Get the number of rows in the matrix.
|
void |
set(int row,
int column,
int value)
Set an entry in the matrix.
|
int getColumns()
int getRows()
int get(int row,
int column)
row - The row to look at.column - The column to look at.void set(int row,
int column,
int value)
row - The row to look at.column - The column to look at.value - The value to set the specified position to.