I had a trouble in Python when working with Sympy.
When I do some stuff and I got this vector:
result
>>>[0 + 1, -0 - 3*a/2 - 1/2, a]
How can I simplify that vector to this:
[1, - 3*a/2 - 1/2, a]
I had tried almost all method like simplify
, collection
,... in Sympy documentation but it does not work. Please help me to treat this case.
Thanks!