operator+¶
-
Row operator+(StaticRowView const &that)¶
Sums a row view with another row view and returns a newly allocated Row.
- Parameters
that – the row view to add to
this
.- Returns
A value of type
Row
- Throws
If the implementation of the semiring addition throws or
std::bad_alloc
is thrown.- Complexity
\(O(m)\) where \(m\) is
size()
Warning
The two row views must be of the same size, although this is not verified by the implementation.