[Numpy-tickets] [NumPy] #473: Matrix multiplication returns wrong result
NumPy
numpy-tickets@scipy....
Thu Mar 22 16:21:51 CDT 2007
#473: Matrix multiplication returns wrong result
------------------------+---------------------------------------------------
Reporter: charris | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: numpy.core | Version: 1.0.1
Severity: normal | Keywords: matrix multiplication
------------------------+---------------------------------------------------
A row vector is returned when the result should be a column vector.
{{{
In [2]:I = matrix(eye(2))
In [3]:x = array([1,2])
In [4]:I*x
Out[4]:matrix([[ 1., 2.]])
}}}
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/473>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list