In my mind the different mathematica *Form functions are analogous to the different printers we have. In that light, I would develop TableForm and yet another printer. Same is true of any other *Form functions we want to copy from Mathematica. But I do think we want this type of functionality in sympy, especially something like TreeForm (I think that is what it is called) that displays a nice expression tree.
Cheers, Brian On Thu, Apr 28, 2011 at 9:33 PM, Ondrej Certik <[email protected]> wrote: > On Thu, Apr 28, 2011 at 8:21 PM, Chris Smith <[email protected]> wrote: >> We have pretty printing and latex output because we need ways to more >> clearly see the information that we generate. The TableForm seems to be an >> addition in this spirit. In the input/process/output scheme, it is part of >> the output. > > Exactly, TableForm is part of the output. We can of course remove the > whole output system, but again, I am +1 to have all this in sympy. > > Currently, I didn't know any other way to implement TableForm than to > subclass it from Basic, so that it works with sympy's printing system. > Ronan, if you know a better way, let me know. We can improve it. > >> >> One thing you could ask is if you installed python and sympy on a new >> machine without your own tools for manipulating data, would you be wishing >> for the TableForm or not? The ability to clearly communicate data to the >> user from within sympy seems like it would be a good idea. > > Exactly. Btw, tablib does *not* seem to support the kind of ascii > pretty printing that TableForm does. Or am I wrong Ronan? > > Ondrej > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > > -- Brian E. Granger Cal Poly State University, San Luis Obispo [email protected] and [email protected] -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
