chsvlib
chsv helper source code

◆ FixedMatrix() [9/15]

FixedMatrix ( value_t(&)  Arr2[columns_number][rows_number],
const allocator_type alloc = allocator_type() 
)

Constructs a matrix from a two dimensional array of elements.

Template Parameters
value_tis a type of an array element to be explicitly converted into value_type.
Parameters
Arr2is the two dimensional array of the matrix elements. The first dimension specifies rows of the created matrix, while the second one specifies the columns, that is the array has a form Arr2[RowCount][ColumnCount].
allocis an allocator object used to manage storage of the matrix elements.