On Fri, Jun 24, 2011 at 12:26 PM, Mark Wiebe <mwwi...@gmail.com> wrote:
> For the maybe dtype, it would need to gain access to the ufunc loop of the
> underlying dtype, and call it appropriately during the inner loop. This
> appears to require some more invasive upheaval within the ufunc code than
> the masking approach.

Not really -- it can just set up some shim ndarray structures, and
then use the standard top-level ufunc entry-point. (Well, this does
assume that ufunc machinery is re-entrant. If it uses global variables
or something to hold per-call state then we might be in trouble.)

-- Nathaniel
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to