C
Curzio Basso
Hi all,
I was wondering what is the best way to compute the mean vector of a
matrix. Currently I'm doing this:
but maybe there is a faster way?
cheers
I was wondering what is the best way to compute the mean vector of a
matrix. Currently I'm doing this:
>>> data.shape (117027, 8)
>>> mean = (numarray.add.reduce(data, axis=1))/(data.shape[1])
but maybe there is a faster way?
cheers