<div dir="ltr"><div>numpy is like Tesla. Everybody else has been doing it wrong...<br><br></div>Ben Root<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 8, 2015 at 4:39 PM, Simon Wood <span dir="ltr"><<a href="mailto:sgwoodjr@gmail.com" target="_blank">sgwoodjr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Feb 8, 2015 at 4:24 PM, Stefan Reiterer <span dir="ltr"><<a href="mailto:domors@gmx.net" target="_blank">domors@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>I don't think this is a good comparison, especially since broadcasting is a feature not a necessity ...</div>

<div>It's more like turning off/on driving assistance.</div>

<div> </div>

<div>And as already mentioned: other matrix languages also allow it, but they warn about it's usage.</div>

<div>This has indeed it's merits.</div>

<div>
<div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0 10px 10px;border-left:2px solid #c3d9e5;word-wrap:break-word">
<div style="margin:0 0 10px 0"><b>Gesendet:</b> Sonntag, 08. Februar 2015 um 22:17 Uhr<br>
<b>Von:</b> "Charles R Harris" <<a href="mailto:charlesr.harris@gmail.com" target="_blank">charlesr.harris@gmail.com</a>><span><br>
<b>An:</b> "Discussion of Numerical Python" <<a href="mailto:numpy-discussion@scipy.org" target="_blank">numpy-discussion@scipy.org</a>><br>
<b>Betreff:</b> Re: [Numpy-discussion] Silent Broadcasting considered harmful</span></div>

<div name="quoted-content"><span>
<div> 
<div class="gmail_extra"> 
<div class="gmail_quote">On Sun, Feb 8, 2015 at 2:14 PM, Stefan Reiterer <span><<a href="http://domors@gmx.net" target="_blank">domors@gmx.net</a>></span> wrote:

<blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1.0px rgb(204,204,204) solid;padding-left:1.0ex">
<div>
<div style="font-family:Verdana;font-size:12.0px">
<div>
<div>Yeah I'm aware of that, that's the reason why I suggested a warning level as an alternative.</div>

<div>Setting no warnings as default would avoid breaking existing code.</div>

<div style="margin:10.0px 5.0px 5.0px 10.0px;padding:10.0px 0 10.0px 10.0px;border-left:2.0px solid rgb(195,217,229)">
<div style="margin:0 0 10.0px 0"><b>Gesendet:</b> Sonntag, 08. Februar 2015 um 22:08 Uhr<br>
<b>Von:</b> "Eelco Hoogendoorn" <<a href="http://hoogendoorn.eelco@gmail.com" target="_blank">hoogendoorn.eelco@gmail.com</a>><br>
<b>An:</b> "Discussion of Numerical Python" <<a href="http://numpy-discussion@scipy.org" target="_blank">numpy-discussion@scipy.org</a>><br>
<b>Betreff:</b> Re: [Numpy-discussion] Silent Broadcasting considered harmful</div>

<div><span>> I personally use Octave and/or Numpy  <span style="line-height:1.6em">for several years now and never ever needed braodcasting.</span> </span>

<div><span><span style="line-height:1.6em">But since it is still there there will be many users who need it, there will be some use for it.</span></span></div>
<span> </span>

<div><span> </span></div>
<span> </span>

<div><span><span style="line-height:1.6em">Uhm, yeah, there is some use for it. Im all for explicit over implicit, but personally current broadcasting rules have never bothered me, certainly not to the extent of justifying massive backwards compatibility violations. Take It from someone who relies on broadcasting for every other line of code.</span></span></div>
<span> </span>

<div><span> </span></div>
<span> </span></div>
</div>
</div>
</div>
</div>
</blockquote>

<div> </div>

<div>It's how numpy works. It would be like getting into your car and being warned that it has wheels.<br>
 </div>

<div>Chuck</div>
</div>
</div>
</div></span><span>
_______________________________________________ NumPy-Discussion mailing list <a href="mailto:NumPy-Discussion@scipy.org" target="_blank">NumPy-Discussion@scipy.org</a> <a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a></span></div>
</div>
</div></div></div>
<br></blockquote><div><br></div></div></div><div>I agree, I do not think this is a good comparison. All cars have wheels, there are no surprises there. This is more like a car that decides to do something completely different from everything that you learned about in driving school. <br><br></div><div>I find the broadcasting aspect of Numpy a turn off. If I go to add a 1x3 vector to a 3x1 vector, I want the program to warn me or error out. I don't want it to do something under the covers that has no mathematical basis or definition. Also, Octave may provide a warning, but Matlab errors out..."Matrix dimensions must agree". Which they must, at least in my world.<br></div><span class=""><div>_______________________________________________<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org" target="_blank">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></span></div><br></div></div>
<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>