On 06/05/2012 02:03 PM, Sergiu Ivanov wrote:
On Tue, Jun 5, 2012 at 5:33 PM, Alan Bromborsky<[email protected]>  wrote:
The reason for the color printing of functions and derivative operators is
that I modified the sympy printing of fuctions (arguments are surpressed)
and derivatives so that when I print multivectors on the console the strings
would not be too long.  The colors make it obvious when the multivector
coefficients are functions (not variables or constants) and when
differential operators are being applied to the coefficients.  Note that
colors are only used for generic functions such as f(x,y,z).
Hm, I see your point.  I wonder whether this reworking can be fit into
the more general concept of SymPy.

Sorry I mixed you up with krastanov who I have sent the file to.  Send me a 
personal email and I will send you the file.  Note that the file is a complete 
rework of the GA (Geometric Algebra) module that is currently in sympy, but 
this time it uses sympy to do the heavy lifting (uses linear combinations of 
sympy commutative and non-commutative symbols to represent multivectors).  The 
only real problem is that GA has 5 different products to represent 
(geometric,inner,outer,left contraction, and right contraction) where as sympy 
only lets your use * for symbolic multiplication.


--
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.

Reply via email to