#include </home/evins/glbarcode/glbarcode/Matrix.hpp>
Public Member Functions | |
| Matrix () | |
| Matrix (int nx, int ny) | |
| Matrix (const Matrix< T > &src) | |
| Matrix (const Matrix< T > &src, int x0, int y0, int nx, int ny) | |
| ~Matrix () | |
| Matrix & | operator= (const Matrix &src) |
| T * | operator[] (int i) const |
| void | resize (int nx, int ny) |
| int | nx () const |
| int | ny () const |
| Matrix< T > | subMatrix (int x0, int y0, int nx, int ny) |
| void | setSubMatrix (int x0, int y0, Matrix< T > &a) |
| void | fill (T val) |
Simple 2D Matrix implementation
|
inline |
Default constructor.
|
inline |
Sized constructor.
|
inline |
Copy constructor.
|
inline |
Submatrix copy constructor.
|
inline |
Destructor.
|
inline |
Fill matrix with single value
|
inline |
Get accessor for "nx" parameter.
|
inline |
Get accessor for "ny" parameter.
|
inline |
Copy assignment "=" operator
|
inline |
Indirection "[]" operator
|
inline |
Resize (destroys old content)
|
inline |
Set sub-matrix
|
inline |
Extract sub-matrix from this matrix