   for (unsigned i = 0; i &lt; m.size1 (); ++ i)<br>
        for (unsigned j = 0; j &lt; m.size2 (); ++ j)<br>
            project (m, range (0, 3), range (0, 3)) (i, j) = 3 * i + j;<br>
    std::cout &lt;&lt; project (m, range (0, 3), range (0, 3)) &lt;&lt; std::endl;<br>
}<br>
</pre>

<h2><a name="matrix_slice"></a> Matrix Slice</h2>

<h4>Description</h4>

<p>The templated class <code>matrix_slice&lt;M&gt;</code> allows
addressing a sliced sub matrix of a matrix.</p>

<h4>Example</h4>

<pre>
#include &lt;