Default constructs a 0x0 matrix. Does not allocate memory.
| 595 | |
| 596 | // Default constructs a 0x0 matrix. Does not allocate memory. |
| 597 | DynamicMatrix() |
| 598 | : numRows(0) |
| 599 | , numCols(0) |
| 600 | {} |
| 601 | |
| 602 | // Allocates room for a matrix with @rows rows and @cols columns. Does not initialize elements. |
| 603 | DynamicMatrix(int rows, |