On Wed, May 1, 2013 at 10:14 AM, Daπid <davidmen...@gmail.com> wrote:

> On 1 May 2013 03:36, Benjamin Root <ben.r...@ou.edu> wrote:
> > Are there any other functions that others feel are "missing" from numpy
> and
> > would like to see for v1.8?  Let's discuss them here.
>
> I would like to have sincos, to compute sin and cos of the same number
> faster. According to some benchmarks, it is barely slower than just
> computing one of them.
>
>

+1

Warren



>
> On 1 May 2013 07:13, Chris Barker - NOAA Federal <chris.bar...@noaa.gov>
> wrote:
> >> Of course, the documentation for discussed before: np.minmax().  My
> thinking is that it would return a 2xN array
> >
> > How about a tuple: (min, max)?
>
> Consider the case of np.minmax(matrix, axis=1), you will end up with a
> tuple of two arrays. In that scenario, you probably want to do
> computations with both numbers, so having them in an array seems more
> convenient.
>
> If there is enough reason, we could always add a "unpack=True" flag
> and then return a tuple.
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to