[Numpy-discussion] try to solve issue #2649 and revisit #473

Charles R Harris charlesr.harris at gmail.com
Wed Apr 3 20:14:56 EDT 2013


On Wed, Apr 3, 2013 at 5:11 PM, huangkandiy at gmail.com <huangkandiy at gmail.com
> wrote:

> Agree with the row-vector and column-vector thing. I notice that in
> ndarray multiplication, the 1-d array is treated as a column-vector. But
> in matrix multiplication, 1-d array is converted to a row-vector. So just
> match the 1-d array to a column-vector, the behavior of ndarray and
> matrix will be consistent.
>
>
If someone is motivated to write some code it might not be too difficult to
get it in. I don't know what the backwards compatibility problem would be,
however. Maybe someone could put together a separate matrix package based
on numpy for teaching purposes.

<snip>

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130403/79a73c7f/attachment.html>


More information about the NumPy-Discussion mailing list