On Friday, June 6, 2014 2:36:34 AM UTC+2, jeanbi...@gmail.com wrote: > > > var('A,B,C,D,u,v,qi,qf') > qi = 1/(u-I*v) > qf = (A+B/qi)/(C+D/qi) >
First of all, you don't need to declare *qi* and *qf* in var( ... ), because they get overwritten in the next expressions. By the way, maybe you mean that A, B, C, D, u, v are real? What about this: var('A,B,C,D,u,v', real=True) expand(1/qf, complex=True) looks much nicer. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/f4b4eb94-004a-4ea8-9f67-d717e049a6a6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.