[Numpy-discussion] Looking for description/insight/documentation on matmul
jeffsaremi at hotmail.com
Tue Jul 10 11:51:27 EDT 2018
Looks great. thanks a lot
From: NumPy-Discussion <numpy-discussion-bounces+jeffsaremi=hotmail.com at python.org> on behalf of Stephan Hoyer <shoyer at gmail.com>
Sent: Monday, July 9, 2018 10:50 AM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] Looking for description/insight/documentation on matmul
I think PEP 465 would be the definitive reference here. See the section on "Intended usage details" in https://www.python.org/dev/peps/pep-0465/
On Mon, Jul 9, 2018 at 9:48 AM jeff saremi <jeffsaremi at hotmail.com<mailto:jeffsaremi at hotmail.com>> wrote:
Is there any resource available or anyone who's able to describe matmul operation of matrices when n > 2?
The only description i can find is: "If either argument is N-D, N > 2, it is treated as a stack of matrices residing in the last two indexes and broadcast accordingly." which is very cryptic to me.
Could someone break this down please?
when a [2 3 5 6] is multiplied by a [7 8 9] what are the resulting dimensions? is there one answer to that? Is it deterministic?
What does "residing in the last two indices" mean? What is broadcast and where?
NumPy-Discussion mailing list
NumPy-Discussion at python.org<mailto:NumPy-Discussion at python.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion