FixedMatrix<aug1_t::value_type, sum_of_columns, rows, aug1_t::allocator_type> Chusov::Math::make_fixed_augmentation_matrix | ( | aug1_t && | aug1, |
aug_t_n &&... | aug_n | ||
) |
Creates a FixedMatrix object as an augmentation of other fixed-sized 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 fixed-size matrices into one matrix object, also of fixed size.
An actual type of the returned matrix and acceptable types of parameters are determined according to the rules given for the make_augmentation_matrix function with the following additional requirements:
To augment variable-size matrices use the make_augmentation_matrix function.
Example:
Output:
Chusov::Exceptions::InvalidParameterException | Invalid sizes of parameters. |