public class TransposedMatrix extends AbstractMatrix implements 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.
|
static Matrix |
transpose(Matrix matrix)
Create the transposed matrix of the given matrix.
|
equals, hashCode, toStringpublic static Matrix transpose(Matrix matrix)
matrix - The matrix to transpose.public int getColumns()
MatrixgetColumns in interface Matrixpublic int getRows()
Matrixpublic int get(int row,
int column)
Matrix