0

Given a symmetric matrix L, and the inverse of L is difficult to solve. Is there any other way to calculate the sum( inverse(L)(:,i) ) ?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Alex
  • 21
  • 2

1 Answers1

0

It can be shown that

sum ( inverse(L)(:,i) ) = x(i)

where the vector x is the solution to the simultaneous equations

L x = (1,1,...,1)'

(' denotes transposition). Since solving a system of linear equations is much faster than inverting a matrix (O(n²) vs O(n log(n))), this should improve the speed of the computation.

Gregor de Cillia
  • 7,397
  • 1
  • 26
  • 43