please can I ask a bit stupid question? I have a complex matrix A as a set of equations. I wanted to find the solution of Ax=b where b is vector of right-hand side. So I have called zgetrf on A (does LU factorization) and then zgetrs on A and b (solves linear system of LU matrix) from Lapack/MKL. But this ends up with error, zgetrf can't factorize the matrix A and says that it is singular. So I have called SVD on it - zgesvd. And this works. But the eigenvalues of the matrix A are as follows:
(2885.24776463951,8.34234423485148)
(1.41421356237310,1.41421356237310)
(1.41421356237309,0.144427825453540)
(1.257628062933306E-014,0.000000000000000E+000)
(0.000000000000000E+000,0.000000000000000E+000)
(0.000000000000000E+000,0.000000000000000E+000)
(0.000000000000000E+000,0.000000000000000E+000)
(0.000000000000000E+000,0.000000000000000E+000)
Can I find where is the problem for zgetrf to factorize? I think such eigenvalues say that the matrix A is only of rank 4 in spite of having physical dimension 8 x 8... can I estimate which lines are dependent? Thank you very much