Faster inverse of a lower triangular matrix than inv(A)?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Benson Gou
el 19 de Oct. de 2018
Dear All,
I have a sparse lower triangular matrix A. I want to obtain the inverse of A. A has a size of 6000 X 6000. I find inv(A) takes more than 5 seconds. I do not know if there is a faster approach to get the inverse of A?
Thanks. Bei
0 comentarios
Respuesta aceptada
Matt J
el 19 de Oct. de 2018
Editada: Matt J
el 19 de Oct. de 2018
The reason I want to obtain the inverse of A is that I need to select a number of rows from inv(A) for further uses. I do not just solve Ax=b linear equation.
The two are almost the same thing:
B=speye(size(A));
rows = B(rowIndices,:)/A
Más respuestas (1)
Torsten
el 19 de Oct. de 2018
See here
https://de.mathworks.com/matlabcentral/answers/332233-updating-inverse-of-a-lower-triangular-matrix
why it is a bad idea to invert a lower triangular matrix.
1 comentario
Ver también
Categorías
Más información sobre Linear Algebra en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!