Matrix<common_value_type, common_allocator_type, void, common_policy_type> Chusov::Math::make_augmentation_matrix | ( | aug1_t && | aug1, |
aug_t_n &&... | aug_n | ||
) |
Creates a Matrix object as an augmentation of other matrices, columns, or ranges of iterators of thereof.
aug1_t | is a type of the mandatory first entity of the parameter list. |
aug_t_n... | is a pack of types defining other columns to be augmented to the created matrix. |
aug1 | is the first (left) column(s) of the matrix being created. |
aug_n | is an optional set of entities specifying additional columns to be augmented to the created matrix from the right. |
The function is built to be used with template deduction mechanisms and can be used to augment various types of matrices into one matrix object.
The following types of parameters are accepted:
Any combination of such parameters can be specified in the parameter list.
The resulting type of the returned matrix is defined according to the following rules.
void
.Example:
Output:
Chusov::Exceptions::InvalidParameterException | Invalid sizes of parameters. |