Creates a matrix from a set of its elements given by a vector object.
- Template Parameters
-
value_t | is a type of elements of the input vector to be explicitly converted into value_type . |
alloc_t | is a type of an allocator object used by the vector specified as the input parameter. |
- Parameters
-
v | is an [std::vector]<value_t ,alloc_t> of elements to be explicitly converted to elements of the value_type type and stored within the internal storage of the matrix created with respect to other parameters. The input vector must contain at least a number of elements that is a product of the ColumnCount and the RowCount template parameters. |
alloc | is an allocator object used to manage storage of the matrix elements. |
- Exceptions
-