This topic is relevant with respect to the dense matrix module. The SymPy Matrix object is the closest thing we have to numpy's ndarray. I believe that the Matrix class sorely needs to be refactored into a few separate pieces. One of those pieces is an ndarray container object that knows nothing about mathematics but handles all of the array manipulations. It would be nice to have both a sparse and dense version.
If you're suggesting this for a GSoC project I think that further community discussion is warranted. My opinion on this subject is not necessarily representative. On Sat, Feb 16, 2013 at 8:51 AM, Stefan Krastanov < [email protected]> wrote: > This question arises regularly here. I think that the last time it was > suggested it was by Matthew Rocklin. It would be nice to abstract the > numpy interface in a __very simple__ wrapper for sympy. Feel free to > add it to the GSOC suggestions (it may not be agreed upon or there may > be no student that wants to work on it, but at least it will start a > discussion) > > On 16 February 2013 15:39, Doug Blank <[email protected]> wrote: > > On Saturday, February 16, 2013 8:17:51 AM UTC-5, Bharath M R wrote: > >> > >> Sympy is completely written in python. The dependencies on numpy is only > >> when you > >> use the lambdify module or the plotting module. These require numpy for > >> doing calculations > >> quickly. > >> > >> So I don't see the use case for a pure - python numeric array > >> implementation(if it could be > >> implemented). Can you please tell the use case you are looking at, for > >> creating a pure > >> python replacement? > > > > > > Sure. The use-case is running code on a Python implementation where numpy > > does not yet exist. Specifically, I'm working on running a neural network > > package on IronPython. Eventually I need to address the issue that this > will > > be much slower than CPython + Numpy, but for now I'd like to just get it > > running. If there were a drop-in replacement for Numeric.array, that > would > > be ideal. > > > > -Doug > > > >> > >> > >> Thanks, > >> Bharath M R > >> > > -- > > You received this message because you are subscribed to the Google Groups > > "sympy" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to [email protected]. > > To post to this group, send email to [email protected]. > > Visit this group at http://groups.google.com/group/sympy?hl=en. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
