[SciPy-Dev] Any ufunc in SciPy with two inputs and multiple outputs?
Jaime Fernández del Río
jaime.frio at gmail.com
Wed Mar 11 12:02:28 EDT 2015
Hi all,
There has been some work on ufunc arguments going on in numpy, e.g.
multiple output parameters can now be specified in a tuple to the 'out'
keyword argument, see #5621 <https://github.com/numpy/numpy/pull/5621>.
There is also an ongoing discussion, see #5662
<https://github.com/numpy/numpy/issues/5662>, on whether this taking of
tuples of arrays as 'out' arguments should be extended to the ufunc methods
that can support it, which seems to only be `outer`. We need a ufunc with
two inputs and more than one output to test this, and there are none in
NumPy (the only ufuncs with more than one output are frexp and modf, which
take a single input). I haven't been able to spot any such ufunc in a quick
search of scipy.special, but would appreciate if someone more knowledgeable
of the innards of scipy could confirm this or point me in the right
direction.
Thanks!
Jaime
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes
de dominación ..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20150311/07fc4c65/attachment.html>
More information about the SciPy-Dev
mailing list