Matrix Q is an n*n tridiagonal matrix.
yi s are eigenvalues of Q. (i=0 to n)
xrj is the jth right eigenvector of Q.
xlj is the jth left eigenvector of Q.
XR is a matrix where xrj is the jth column of it, and XL is a matrix where xlj is the jth row of it.
Y is a diagonal matrix with each of its main diameter elements denoted by 1/yi.(i.e. Y= diag (1/z1, . . . , 1/zN)
Is the following relation correct to get the matrix inverse of the tridiagonal matrix Q?
Q-1= XR*Y*XL