I'm not sure if I am addressing your question on vectorizing directly,
but consider the following code, which does (maybe?) what your asking.
import scipy
from numpy import reshape,ones, zeros, arange, array
A=reshape(arange(100),[10,10])
nr,nc=A.shape
B=zeros(A.shape) #initialize array
#calcu
Hi all!!!I'm pretty new here!!
I'm just use my free time to learn something more about pythonI just
discovered a new word named 'Vectorizing'
I'm going to explain my question...I have a matrix (no care about the size)
and I want made some mathematical operations like mean,standard
deviatio