derived_type& StackMe | ( | const Matrix< rderived_t, rvalue_t, ralloc_t, rpolicy_t > & | refRight | ) |
Adds new rows to the bottom of a matrix.
rvalue_t | A type of elements of the matrix to be stacked. The type must be implicitly convertible to value_type. |
ralloc_t | A type of an allocator used by the matrix to be augmented. |
rderived_t | A derived type of the parameter matrix. |
rpolicy_t | A policy used by the parameter matrix. |
refRight | is a reference to the matrix to be stacked to the bottom of the current one. |
*this
. refRight
can be empty. If the current matrix is empty, the rows of refRight
are simply assigned to the current matrix. If refRight
is empty, the current matrix is left unchanged. Chusov::Exceptions::InvalidParameterException | A number of columns of the matrix referenced by refRight mismatches a number of columns in the current matrix, except for the case either or both of the matrices are empty. |