-1

I have a sparse, square, symmetric matrix with the following structure: (Let's say the size of the matrix is N x N)

enter image description here

Here, the area under the blue stripes is the non-zero elements. Could someone tell me if there is a algorithm to invert this kind of matrix that is simple yet more efficient than Gaussian elimination and LU decomposition? Thank you in advance.

rnels12
  • 639
  • 6
  • 12

2 Answers2

0

Cholesky factorization is faster, O(n²). Or some specialized multi-band solvers, if you know the number of non-zero off-diagonals.

You can also apply iterative methods, maybe with preconditioning, it depends on your purpose.

usr1234567
  • 21,601
  • 16
  • 108
  • 128
-1

There are a lot of sparse solvers. This can easily be solved using libeigen. What solver you choose is really going to depend on the properties of the sparse matrix besides the structure. Hope this helps.

mculp
  • 59
  • 1
  • 7