> .</li>
</ul>

<h4>Preconditions</h4>

<ul type="Disc">
<li><code>r1.start () + r1.size () &lt;= data.size1 ()</code></li>

<li><code>r2.start () + r2.size () &lt;= data.size2 ()</code></li>
</ul>

<h4>Complexity</h4>

<p>Quadratic depending from the size of the ranges.</p>

<h4>Examples</h4>

<pre>
#include &lt;boost/numeric/ublas/matrix.hpp&gt;<br>
#include &lt;boost/numeric/ublas/io.hpp&gt;<br>
<br>
int main () {<br>
    using namespace boost::numeric::ublas;<br>
    matrix&lt;double&gt; m (3, 3);<br>
 