Calculating difference between row vector and average row vector?
<p>Suppose the matrix is M=</p>

<pre><code>[[.10, .32, .20, .40, .80], 
 [.23, .18, .56, .61, .12], 
 [.90, .30, .60, .50, .30], 
 [.34, .75, .91, .19, .21]]
</code></pre>

<p>The average row vector is rav=</p>

<pre><code>[ 0.3925  0.3875  0.5675  0.425   0.3575]
</code></pre>

<p>I want to subtract average row vector (rav) from each row vector in the above matrix (M) 
i.e M(i)-rav.
How can I do that in an efficient way?</p>
