[Numpy-discussion] GSoC proposal -- Numpy SciPy
Charles R Harris
Tue Apr 30 15:00:26 CDT 2013
On Tue, Apr 30, 2013 at 1:37 PM, Nathaniel Smith <firstname.lastname@example.org> wrote:
> On Tue, Apr 30, 2013 at 3:19 PM, Blake Griffith
> <email@example.com> wrote:
> > Hello, I'm writing a GSoC proposal, mostly concerning SciPy, but it
> > a few changes to NumPy.
> > The proposal is titled: Improvements to the sparse package of Scipy:
> > for bool dtype and better interaction with NumPy
> > and can be found on my GitHub:
> > Basically, I want to change the ufunc class to be aware of SciPy's sparse
> > matrices. So that when a ufunc is passed a sparse matrix as an argument,
> > will dispatch to a function in the sparse matrix package, which will then
> > decide what to do. I just wanted to ping NumPy to make sure this is
> > reasonable, and I'm not totally off track. Suggestions, feedback and
> > criticism welcome.
> How do you plan to go about this? The obvious option of just calling
> scipy.sparse.issparse() on ufunc entry raises some problems, since
> numpy can't depend on or even import scipy, and we might be reluctant
> to add such a special case for what's a rather more general problem.
> OTOH it might be possible to solve the problem in general, e.g., see
> the prototyped _ufunc_override_ special method in:
> but I don't know if you want to get into such a debate within the
> scope of your GSoC. What were you thinking?
ISTR that Mark Wiebe also had thoughts for that functionality. There was a
thread on the topic but I don't recall the time.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion