On Wed, Apr 8, 2009 at 2:32 AM, Fredrik Johansson
<fredrik.johans...@gmail.com> wrote:

> All quantities in physics.units are defined in terms of SI base units
> (http://en.wikipedia.org/wiki/SI_base_unit). The derived units (such
> as V) are just composite expressions, not atomic symbols. This ensures
> that expressions involving units always are in canonical form (with
> the downside that this form is not always pretty), and thus SymPy's
> generic symbolic algorithms can handle units without the need for any
> special code.
>
> The simplest workaround would be to recognize simpler forms for units
> at the pretty-printing stage.

This is, by the way, similar to the fact that SymPy actually represents x/y
as x*(1/y), although it does pretty-print it as x/y.

Fredrik

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

Reply via email to