Hello, how can I rewrite following expression to UBLAS?
<div><div>template &lt;class T&gt;</div><div>boost::numeric::ublas::matrix&lt;T&gt; SubstractMeans( boost::numeric::ublas::matrix&lt;T&gt; &amp;m, boost::numeric::ublas::vector&lt;T&gt; &amp;vMeans)</div><div><span class="Apple-tab-span" style="white-space:pre">	</span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre">		</span>ublas::matrix&lt;T&gt; mout(m.size1(), m.size2());</div><div><span class="Apple-tab-span" style="white-space:pre">		</span>for(size_t i=0;i&lt;m.size1();i++)</div>
<div><span class="Apple-tab-span" style="white-space:pre">			</span>for(size_t j=0;j&lt;m.size2();j++)</div><div><span class="Apple-tab-span" style="white-space:pre">			</span>{</div><div><span class="Apple-tab-span" style="white-space:pre">				</span>mout(i,j)=m(i, j)-vMeans(i);<span class="Apple-tab-span" style="white-space:pre">				</span></div>
<div><span class="Apple-tab-span" style="white-space:pre">			</span>}</div><div><span class="Apple-tab-span" style="white-space:pre">		</span>//cout&lt;&lt;mout&lt;&lt;endl;</div><div><span class="Apple-tab-span" style="white-space:pre">		</span>return mout;</div>
<div><span class="Apple-tab-span" style="white-space:pre">	</span>}</div><div><br></div><div>thanks,</div><div>Arman.</div><div><br></div></div>