Hi Alan,

The problem with .dot is not that it is not possible, but more that it
is not obvious exactly what will happen given the overloading of
multiple use cases; indeed, this is why `np.matmul` was created.  For
the stacks of vectors case in particular, it is surprising that the
vector dimension is the one but last rather than the last dimension (at
least if the total dimension is more than 2).

The idea here is to have a function that does just one obvious thing
(sadly, for matmul we didn't quite stick to that...).

All the best,

Marten
_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to