|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface MatrixDimension
A matrix is a rectangular arrangement of numbers. Its dimension is defined by the number of rows and columns the matrix has.
We do not dictate how a matrix should be implemented. Different implementations of the mathematical concept 'matrix' implements this interface.
This interface is made minimal so that we do not list all possible matrix operations. Instead, matrix operations are grouped into packages and classes by their properties. This is to avoid interface "pollution", lengthy and cumbersome design.
| Method Summary | |
|---|---|
int |
nCols()
Get the number of columns. |
int |
nRows()
Get the number of rows. |
| Method Detail |
|---|
int nRows()
int nCols()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||