Props to numpy programmers!
andrewfelch at yahoo.com
Thu Nov 20 02:28:25 CET 2003
So I wanted to matrixmultiply
Of course this is impossible, because the number of columns in the
first factor is not equal to the number of rows in the second. Wrong!
It is impossible because the second matrix is rank1! So numpy
happily converts it to a column vector so the multiplication will
work, and converts the answer back into a rank1 vector!!!!
I love NUMPY!!!!!!!!!!!
I was reading my code and thought I had a bug, I couldn't figure out
why the code was still working right! It's because the numpy people
Hooray numpy!!!!!!!!!! Numpy is smarter than me!
More information about the Python-list