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

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

 Respuesta aceptada

J. Alex Lee
J. Alex Lee el 22 de Jun. de 2021
potentially, if you have more information about the properties of A, you can specify them in a call to linsolve

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 22 de Jun. de 2021

Respondida:

el 22 de Jun. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by