><b>swap</b> (<a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix.html">scalar_matrix</a> &amp;m1, <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix.html">scalar_matrix</a> &amp;m2)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class T, class ALLOC&gt;<br/>
 class boost::numeric::ublas::scalar_matrix&lt; T, ALLOC &gt;</h3>

<p>Changing one value has the effect of changing all the values. Assigning it to a normal <a class="el"