On Friday, 15 January 2016 17:04:20 UTC+1, Alexander Lindsay wrote:
>
>
> and carry them around in expressions that way because I want to *avoid*
> simplifications like (C is another vector): A * B / (A * C) = B / C
>
>
This is a trick: declare *A, B, C* as non commutative variables:
In [1]: A, B, C = symbols('A B C', commutative=False)
In [2]: A * B / (A * C)
Out[2]:
-1
A*B*(A*C)
--
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 https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/9250df72-10c5-4f13-871e-42856ee4ae33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.