By 'rational function terms' and'general expression terms' do you mean that a matrix should take Expr objects as elements ? Of course, I missed to add it in the list of groundtypes. Felt it was obvious.
On May 13, 4:53 am, Aaron Meurer <asmeu...@gmail.com> wrote: > I think a Matrix could also have, for example, rational function > terms, and also you want to be able to support general expression > terms. How would that fit in your model? > > Aaron Meurer > > > > > > > > On Thu, May 12, 2011 at 5:51 PM, Sherjil Ozair <sherjiloz...@gmail.com> wrote: > > Hello everyone, > > I took ideas from mattpap's thesis at [1], specifically the idea of multi > > level structure. > > The hierarchy I have in mind is > > Level 0 : A collection of functions that operate on groundtypes(GMPY, > > Python, Sympy). > > Functions of this layer will receive the Matrix data as arguments. > > Function names will be prefixed with identifiers as to which data structure > > it works on. > > This layer is unaware of Matrix classes. > > Functions of this level can only call functions of the same level. > > All the algorithms for factorization, etc. will be implemented in this > > level. > > Level 1 : A collection of classes like DOKMatrix, COOMatrix, DenseMatrix, > > etc. > > The data structure is defined in this class. > > This class will have user functions which use the functions of level 0. > > Level 2 : The Matrix class > > These class which will return one of the class of level 1 using the __new__ > > function. > > This idea is still unformed. I invite comments to help me evolve this idea. > > Ask if you feel something is not clear. > > > [1] http://mattpap.github.com/masters-thesis/html/src/internals.html > > > -- > > You received this message because you are subscribed to the Google Groups > > "sympy" group. > > To post to this group, send email to sympy@googlegroups.com. > > To unsubscribe from this group, send email to > > sympy+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/sympy?hl=en. -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.