Constructs a zero matrix by default-constructing its elements in a buffer.
- Template Parameters
-
ValueType | A type of a matrix element. |
- Parameters
-
[out] | column_matrix | The buffer in which the matrix is constructed. |
| columns | A number of columns in the constructed matrix. |
| rows | A number of rows in the constructed matrix. |
- Exceptions
-
Any | exceptions thrown by the default constructor of ValueType . |
Unlike set_zero_matrix, the function considers column_matrix
to be a buffer with uninitialized elements. No assignment or destruction takes place. To assign the matrix, rather than construct a new copy of one, use set_zero_matrix.