#include <matrix.h>
Public Member Functions | |
| Matrix () | |
| Constructor. | |
| ~Matrix () | |
| Destructor. | |
| void | resize (const std::vector< UnsignedInt > &new_size) |
| Resizes the dimension's extents. | |
An n-dimensional matrix could be defined as a vector of homogeneous (n-1)-dimensional sub-matrices, as this class do it by recursive template definition. Matrix class inherits from STL vector class.
| nmn::Matrix< Element, _dimension_count >::Matrix | ( | ) |
Constructor.
Creates an stl vector of (_dimension_count-1)-dimensional matrices.
| nmn::Matrix< Element, _dimension_count >::~Matrix | ( | ) |
Destructor.
| void nmn::Matrix< Element, _dimension_count >::resize | ( | const std::vector< UnsignedInt > & | new_size | ) |
Resizes the dimension's extents.
| new_size | new size for the dimension's extents (note that the new_size vector length must be equal to the dimension count of the matrix). |
1.4.7