chsvlib
chsv helper source code

◆ FixedMatrix() [14/15]

FixedMatrix ( const Matrix< Val2, Alloc2, Derived2, Policy2 > &  right)

Constructs a fixed matrix object as a copy of a matrix with dimensions not defined at a compile time.

Template Parameters
Val2is a type of input matrix elements which must be explicitly convertible to value_type.
Alloc2is an allocator object used in the input matrix.
Derived2is a class implementing behaviour of the input matrix.
Parameters
rightis the input matrix. Dimensions of the matrix, which are determined by its Columns() and Rows() methods, must be equal to the ColumnCount and RowCount template parameter values of the FixedMatrix class respectively, otherwise the construction fails with Chusov::Exceptions::InvalidParameterException exception.