Constructs a matrix from a range of matrices or matrix columns specified by a pair of input iterators.
- Template Parameters
-
InputIterator | is, at least, an InputIterator type of iterators specifying the range. |
- Parameters
-
itBegin | is the first iterator which designates the first component of a range to be augmented to the new matrix. |
itEnd | is the last iterator which designates the first component out of the range to be augmented to the new matrix. The iterator must be reachable from itBegin through a finite number \(n\)of incrementations. That is: while(--n)++itBegin; itBegin == itEnd;
. If this requirement is not met, the behaviour of the constructor is undefined. The behaviour is also undefined if the iterators correspond to columns of different matrices. |
alloc | is a custom allocator which can be specified for the created matrix. By default, a default constructed allocator is passed. |
- See also
- make_augmentation_matrix - a more general way of creating matrices which are augmentations of columns.
- Exceptions
-