Travis Oliphant schrieb: > O.K. So, the problem is that when I defined matrix multiplication, I > mistakenly believed that dot always interpreted 1-d arrays as row > vectors which it is now clear it doesn't. > > I think this led to the issues. > > So, making dot always return arrays seems like the needed fix. >
Does that mean that... a) dot(a,b) will return an array even if a and b are both numpy-matrices? and/or b) dot(c,d) will return an array if c or d is a numpy-matrix? Thanks for any clarifications, Sven _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion