| Matrix | ( | const Chusov::Memory::iterator_range< InputIterator > & | range, |
| const allocator_type & | alloc = allocator_type() |
||
| ) |
Constructs a matrix from a range of matrices or matrix columns specified by an instantiation of the Chusov::Memory::iterator_range template for input iterators.
| InputIterator | is, at least, an InputIterator type of iterators specifying the range. |
| range | is the range of iterators. An iterator returned by range.end()
rang.begin()
for (auto it = range.begin(); n-- > 0; ++it); it == range.end(); //true
|
| alloc | is a custom allocator which can be specified for the created matrix. By default, a default constructed allocator is passed. |
| Chusov::Exceptions::InvalidParameterException | Sizes of the columns are mutually inconsistent. |