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

36 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by