|
| Matrix (size_t dim1, size_t dim2) |
| Constructor setting the size. More...
|
|
| Matrix (size_t dim1, size_t dim2, DataType init) |
| Constructor allowing initialization of fields. More...
|
|
| Matrix (const Matrix &)=default |
|
Matrix & | operator= (const Matrix &)=default |
|
virtual | ~Matrix () |
| Destructor.
|
|
std::vector< DataType > & | operator[] (unsigned int index) |
| Access operator. More...
|
|
const std::vector< DataType > & | operator[] (unsigned int index) const |
| Access operator. More...
|
|
void | resize (size_t dim_1, size_t dim_2) |
| Resizes the matrix to the new dimensions. More...
|
|
void | ensure (size_t dim_1, size_t dim_2) |
|
size_t | dim1 () const |
| Returns the size of the first dimension. More...
|
|
size_t | dim2 () const |
| Returns the size of the second dimension. More...
|
|
void | fill (const DataType &value) |
|
template<typename DataType>
class MDAT::Matrix< DataType >
A simple class to produce 2 dimensional matrices.