I have a question regarding symbolic manipulation of PDEs. I am attempting 
to use sympy to generate an implicit scheme for the heat equation. With the 
Crank-Nicolson time discretization I have:

[image: Inline image 1]

Is there a way to isolate all occurrences of [image: Inline image 2] (along 
with its derivatves) to the lefthand side, as in:

[image: Inline image 3]

I would be very interested to know! Apparently it has something to do with 
the collect() function.

Best,
Jonathan

-- 
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/b9f4bac1-35e3-4b42-b525-f2ac70b241a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to