I think it needs to be collect([z, log(z)]). See the documentation. The third argument does something different.
Aaron Meurer On Sep 19, 2013, at 11:05 AM, Boris Kheyfets <[email protected]> wrote: Thank You for a quick reply. .collect(z) does not quite succeed, since I also have logs. .collect(z, log(z)) didn't do what I expected. Nevertheless I think I'll be happy with collect, subs and coeff -- 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 http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out. -- 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 http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
