New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support solving for Dummy symbols in linsolve #9668

merged 1 commit into from Jul 17, 2015


None yet
2 participants
Copy link

aktech commented Jul 13, 2015

The following works now:

In [4]: M = Matrix([[1, 2, 1, 1, 7], [1, 2, 2, -1, 12], [2, 4, 0, 6, 4]])

In [5]: system = A, b = M[:, :-1], M[:, -1]

In [8]: x1= Dummy('x1')

In [9]: x2= Dummy('x2')

In [10]: x3= Dummy('x3')

In [11]: x4= Dummy('x4')

In [12]: linsolve(system, x1, x2, x3, x4)
Out[12]: {(-2*_x2 - 3*_x4 + 2, _x2, 2*_x4 + 5, _x4)}

Fixes #9667
@hargup @flacjacket

Support solving for Dummy symbols in linsolve
Signed-off-by: AMiT Kumar <>

This comment has been minimized.

Copy link

hargup commented Jul 17, 2015


hargup added a commit that referenced this pull request Jul 17, 2015

Merge pull request #9668 from aktech/linsolve-dummy
Support solving for Dummy symbols in linsolve

@hargup hargup merged commit 551b6e1 into sympy:master Jul 17, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

@aktech aktech deleted the aktech:linsolve-dummy branch Jul 25, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment