Skip to content
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

Avoid inv() #1

Open
fbastin opened this issue Sep 28, 2019 · 1 comment
Open

Avoid inv() #1

fbastin opened this issue Sep 28, 2019 · 1 comment

Comments

@fbastin
Copy link

fbastin commented Sep 28, 2019

You should not compute x_B as x_B = inv(B)*b, but as the solution of a linear system: x_B = B\b, and check that the rank of B is equal to m

@chkwon
Copy link
Owner

chkwon commented Jan 26, 2021

Indeed. inv(B) was used just for education purpose. Perhaps I should also add B\b. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants