Oh, I see what you want. No, I don't think we have a RootOfUnity class. You might try to write one, using ImaginaryUnit as your guide, and see how far you can get with it. However, be aware that making stuff auto combine without modifying the core is not easy and is a major problem that we're trying to solve.
We do have RootOf, which represents an arbitrary algebraic number. Depending on what you want to do with it, it may or may not be enough. Aaron Meurer On Nov 26, 2012, at 10:29 PM, simon <[email protected]> wrote: Thanks Aaron, but that function is actually more complicated than what I am doing now. Given that we have ImaginaryUnit I thought it might be possible to extend this to arbitrary roots of unity, for example. Cheers, Simon. -- You received this message because you are subscribed to the Google Groups "sympy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sympy/-/6PCSI_BSbpcJ. 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. -- 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.
