Creates a matrix from a vector of raw data pointed to by parameters of the constructor.
- Template Parameters
-
value_t | is a type of an array element to be explicitly converted into value_type . |
- Parameters
-
pVector | is a pointer to memory with elements of the created matrix. Every element of the vector is copied to the internal storage with respect to values of other parameters. It is assumed that input buffer stores elements row-by-row, that is the vector can be considered as a vector of matrix rows. An amount of elements read from the buffer is determined as a multiple of a number of columns and a number of rows, both of which are specified parametrically. |
cColumns | is a number of columns within the created matrix. |
cRows | is a number of rows within the created matrix. |
alloc | is an allocator object used to manage storage of the matrix elements. |