<div dir="ltr">Then add in broadcasting behavior...<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 22, 2015 at 4:58 PM, Nathaniel Smith <span dir="ltr"><<a href="mailto:njs@pobox.com" target="_blank">njs@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><p dir="ltr">On May 22, 2015 1:26 PM, "Benjamin Root" <<a href="mailto:ben.root@ou.edu" target="_blank">ben.root@ou.edu</a>> wrote:<br>
><br>
> That assumes that the said recently-confused ever get to the point of understanding it...</p>
</span><p dir="ltr">Well, I don't think it's that complicated really. For whatever that's worth :-). My best attempt is here, anyway:</p>
<p dir="ltr">  <a href="https://www.python.org/dev/peps/pep-0465/#semantics" target="_blank">https://www.python.org/dev/peps/pep-0465/#semantics</a></p>
<p dir="ltr">The short version is, for 1d and 2d inputs it acts just like dot(). For higher dimension inputs like (i, j, n, m) it acts like any other gufunc (e.g., everything in np.linalg) -- it treats this as an i-by-j stack of n-by-m matrices and is vectorized over the i, j dimensions. And 0d inputs are an error.</p><span class="HOEnZb"><font color="#888888">
<p dir="ltr">-n</p>
</font></span><br>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br></div>