How can I quickly obtain the inverse of a square sparse matrix?

87 ビュー (過去 30 日間)
Benson Gou
Benson Gou 2021 年 6 月 22 日
回答済み: J. Alex Lee 2021 年 6 月 22 日
Dear All,
I have a square sparse matrix A. I use the following way to obtain its inverse:
invA = A \ eye(size(A));
I am wondering if there is a faster way to obtain invA.
Thanks a lot.
Benson

採用された回答

J. Alex Lee
J. Alex Lee 2021 年 6 月 22 日
potentially, if you have more information about the properties of A, you can specify them in a call to linsolve

その他の回答 (0 件)

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by