On Tue, Oct 20, 2009 at 5:45 AM, Anne Archibald
peridot.face...@gmail.com wrote:
2009/10/19 Sebastian Walter sebastian.wal...@gmail.com:
I'm all for generic (u)funcs since they might come handy for me since
I'm doing lots of operation on arrays of polynomials.
Just as a side note, if you
I'm not very familiar with the underlying C-API of numpy, so this has
to be taken with a grain of salt.
The reason why I'm curious about the genericity is that it would be
awesome to have:
1) ufuncs like sin, cos, exp... to work on arrays of any object (this
works already)
2) funcs like dot, eig,
On Tue, Oct 20, 2009 at 5:24 AM, Sebastian Walter
sebastian.wal...@gmail.com wrote:
I'm not very familiar with the underlying C-API of numpy, so this has
to be taken with a grain of salt.
The reason why I'm curious about the genericity is that it would be
awesome to have:
1) ufuncs like sin,
Hi Travis,
On Mon, Oct 19, 2009 at 6:29 PM, Travis Oliphant oliph...@enthought.com wrote:
On Oct 17, 2009, at 7:49 AM, Darren Dale wrote:
[...]
When calling numpy functions:
1) __input_prepare__ provides an opportunity to operate on the inputs
to yield versions that are compatible with the
2009/10/20 Sebastian Walter sebastian.wal...@gmail.com:
On Tue, Oct 20, 2009 at 5:45 AM, Anne Archibald
peridot.face...@gmail.com wrote:
2009/10/19 Sebastian Walter sebastian.wal...@gmail.com:
I'm all for generic (u)funcs since they might come handy for me since
I'm doing lots of operation
On Sat, Oct 17, 2009 at 2:49 PM, Darren Dale dsdal...@gmail.com wrote:
numpy's functions, especially ufuncs, have had some ability to support
subclasses through the ndarray.__array_wrap__ method, which provides
masked arrays or quantities (for example) with an opportunity to set
the class and
On Mon, Oct 19, 2009 at 3:10 AM, Sebastian Walter
sebastian.wal...@gmail.com wrote:
On Sat, Oct 17, 2009 at 2:49 PM, Darren Dale dsdal...@gmail.com wrote:
numpy's functions, especially ufuncs, have had some ability to support
subclasses through the ndarray.__array_wrap__ method, which provides
2009/10/19 Sebastian Walter sebastian.wal...@gmail.com:
I'm all for generic (u)funcs since they might come handy for me since
I'm doing lots of operation on arrays of polynomials.
Just as a side note, if you don't mind my asking, what sorts of
operations do you do on arrays of polynomials? In
On Sat, Oct 17, 2009 at 6:49 AM, Darren Dale dsdal...@gmail.com wrote:
numpy's functions, especially ufuncs, have had some ability to support
subclasses through the ndarray.__array_wrap__ method, which provides
masked arrays or quantities (for example) with an opportunity to set
the class and