chsvlib
chsv helper source code

◆ AugmentMe() [3/4]

derived_type& AugmentMe ( const unspecified_column_type &  refRight)

Adds a specified matrix column to the right side of the current matrix.

Template Parameters
rmatrix_tA type of a matrix which the column appertains to.
Parameters
refRightis a reference to the column obtained from invoking the at method or the bracket operator.
Returns
A reference to *this.
Remarks
If the current matrix is empty, the column is simply assigned to be matrix.
Exceptions
Chusov::Exceptions::InvalidParameterExceptionA number of rows in the column mismatches a number of rows in the non-empty matrix.
See also
make_augmentation_matrix