On Thursday, 26 May 2016 03:03:03 UTC+1, Tim Holy wrote:
>
> Since you asked...from my perspective, the easiest argument against it is 
>
>     pnormalized = p ./ sum(p, 1) 
>
> If you drop the summed dimension, that won't work anymore. One can write 
>
>     pnormalized = p ./ reshape(sum(p, 1), 1, size(p, 2)) 
>

Would the point of the new notation be to write

     pnormalized = p ./ sum(p, [1]) 
 

Reply via email to