symplify noncommutative expressions

29 views
Skip to first unread message

bsdz

unread,
Jan 26, 2017, 11:16:40 AM1/26/17
to sympy
I'm perhaps missing something here but is there a way to get sympy to simplify noncommutative expressions?

ie

L,N = sp.symbols("L N", commutative=False)

sp
.simplify(L*N*(L*N)**-1)






Aaron Meurer

unread,
Jan 26, 2017, 4:52:59 PM1/26/17
to sy...@googlegroups.com
I don't see anything that does it, although there may be something
that I missed. It's definitely something that SymPy ought to be able
to do.

Aaron Meurer
> --
> 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 sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> 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/367b4660-6e31-4c39-a87f-c5adb1099770%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages