Constructs a fixed-size matrix from a specified set of elements given by a pair of iterators row-by-row. .
- Template Parameters
-
input_iterator_t | is a type of an iterator of, at least, input type. It is used for denoting a half-range of the sequence. |
array_interpretation_t | is a type of the array_interpretation parameter denoting a way to copy the iterated elements into the matrix. |
- Parameters
-
itBegin | is an iterator denoting a start of the sequence and associated with the top-left element of the constructed matrix. |
itEnd | is an iterator which is associated with a (pseudo) element past the end of the sequence of elements assigned to the matrix. |
array_interpretation | is an identifier for interpretation of the set of elements which can be set to either interpret_array_as_matrix_rows_set (to insert consequent elements of the set to the matrix row-by-row) or interpret_array_as_matrix_columns_set (to insert the elements column-by-column). |
alloc | is a custom allocator which can be specified for the created matrix. By default, a default constructed allocator is used. |
- Exceptions
-