Looks great. thanks a lot ________________________________ From: NumPy-Discussion <numpy-discussion-bounces+jeffsaremi=hotmail....@python.org> on behalf of Stephan Hoyer <sho...@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
Hi Jeff, 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/ Cheers, Stephan On Mon, Jul 9, 2018 at 9:48 AM jeff saremi <jeffsar...@hotmail.com<mailto:jeffsar...@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? thanks jeff _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org<mailto:NumPy-Discussion@python.org> https://mail.python.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion