nemo::MatrixDimension Class Reference
Represents the dimension of a Matrix.
More...
#include <Matrix.h>
List of all members.
Detailed Description
Represents the dimension of a Matrix.
It is actually nothing else than an pair of unsigned ints representing row and col dimension, but allows typesafe distinction between values and dimensions in Matrices.
Definition at line 28 of file Matrix.h.
Constructor & Destructor Documentation
nemo::MatrixDimension::MatrixDimension |
( |
const MatrixDimension & |
o |
) |
[inline] |
Member Function Documentation
const unsigned int& nemo::MatrixDimension::cols |
( |
|
) |
const [inline] |
- Returns:
- Number of columns
Definition at line 37 of file Matrix.h.
bool nemo::MatrixDimension::operator!= |
( |
const MatrixDimension & |
o |
) |
const [inline] |
bool nemo::MatrixDimension::operator== |
( |
const MatrixDimension & |
o |
) |
const [inline] |
const unsigned int& nemo::MatrixDimension::rows |
( |
|
) |
const [inline] |
- Returns:
- Number of rows
Definition at line 33 of file Matrix.h.
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
const MatrixDimension & |
d | |
|
) |
| | [friend] |
The documentation for this class was generated from the following file: