-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
usolve misses solutions #1748
Comments
I couldn't find a general back-substituion algorithm for singular matrices, so I spent some time figuring it out. I wrote this paper explaining why I think my algorithm is correct. Hopefully, I'll make a PR soon. |
Thanks for sharing your work Michal! |
Published now in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
usolve
function can only find solutions of non-degenerate matrices. On degenerate ones, it automatically sets the free parameters to zero, only returning one solution out of many. For nullb
it only returns null vectors as a result. Example:(Also, the returned array is two-dimensional for some reason.)
EDIT: Related to #1168. Since all non-square matrices are degenerate.
EDIT: Also true for
lsolve
andlusolve
.The text was updated successfully, but these errors were encountered: