I enter a matrix 2x2 M as follow:
M[0] = 1.00000000
M[1] = 0.00000000
M[2] = 0.00000000
M[3] = 1.00000000
M is a double vector.
I call GenEigenValueVector :
GenEigenValueVector (M, N, 1, ValeursPropres, VecteurPropres)
where N = 2, and ValeursPropres & VecteurPropres have the rigth size.
But GenEigenValueVector return an error: Input Matrix is singular. It is amazing because M is the identity matrix and then the eigenvalues are 1 & 1 and the determinant is 1.
Where am I wrong ?