<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Wed, May 1, 2013 at 10:14 AM, Daπid <span dir="ltr"><<a href="mailto:davidmenhur@gmail.com" target="_blank">davidmenhur@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 class="im">On 1 May 2013 03:36, Benjamin Root <<a href="mailto:ben.root@ou.edu">ben.root@ou.edu</a>> wrote:<br>

</div><div class="im">> Are there any other functions that others feel are "missing" from numpy and<br>
> would like to see for v1.8?  Let's discuss them here.<br>
<br>
</div>I would like to have sincos, to compute sin and cos of the same number<br>
faster. According to some benchmarks, it is barely slower than just<br>
computing one of them.<br>
<div class="im"><br></div></blockquote><div><br><br>+1<br><br></div><div>Warren<br> <br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
<br>
On 1 May 2013 07:13, Chris Barker - NOAA Federal <<a href="mailto:chris.barker@noaa.gov">chris.barker@noaa.gov</a>> wrote:<br>
>> Of course, the documentation for discussed before: np.minmax().  My thinking is that it would return a 2xN array<br>
><br>
> How about a tuple: (min, max)?<br>
<br>
</div>Consider the case of np.minmax(matrix, axis=1), you will end up with a<br>
tuple of two arrays. In that scenario, you probably want to do<br>
computations with both numbers, so having them in an array seems more<br>
convenient.<br>
<br>
If there is enough reason, we could always add a "unpack=True" flag<br>
and then return a tuple.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br></div></div>