[Numpy-discussion] any better way to normalise a matrix
Thu Dec 27 22:34:55 CST 2007
in my code i am trying to normalise a matrix as below
mymatrix=matrix(..# items are of double type..can be negative
for i in range(numrows):
for j in range(numcols):
# i am using abs() to make neg vals positive
this way the code takes too much time to run for a case of
numrows=25, and numcols=8100 etc..
being a beginner in numpy and python ,i would like to know if this can
be done more efficiently..can anyone advise?
More information about the Numpy-discussion