Comment #5 on issue 509 by smi...@gmail.com: Collecting expressions
containing a variable
http://code.google.com/p/sympy/issues/detail?id=509
This is possible without too much work...
collect(eq.expand(), [f for f in eq.atoms(Function) if f.has(x)])
(a + b)*sin(x) + (a + b)*cos(x)
--
Updates:
Labels: -NeedsReview -smichr
Comment #4 on issue 509 by smi...@gmail.com: Collecting expressions
containing a variable
http://code.google.com/p/sympy/issues/detail?id=509
pull request was pulled.
--
You received this message because you are subscribed to the Google Groups
Updates:
Labels: NeedsReview smichr
Comment #3 on issue 509 by smi...@gmail.com: Collecting expressions
containing a variable
http://code.google.com/p/sympy/issues/detail?id=509
see https://github.com/sympy/sympy/pull/664
--
You received this message because you are subscribed to
Updates:
Cc: asmeurer
Comment #2 on issue 509 by smichr: Collecting expressions containing a
variable
http://code.google.com/p/sympy/issues/detail?id=509
I don't recall. My current thinking is just to be able to gcdfactor
something which
is very close to what separatevars is doing.