Hi Petteri,
Thank you for your reply,
I saw that again and I am using QR decomposition elsewhere in my program. I jsut dont know how to use it to find eigens.
I read again the wikipedia post as well as other posts but i dont sem to get what I am doing with the Q and R matrices.
A = QR (the easiest part - a line of code)
Then according to wiki I just do:
Anew = RQ and iterate......but for how many times?
and if i get it correctly the last Anew that is going to be produced is going to be my eigenvector matrix and the last diag(R) is goint to be the eigenvalues?
for example:
for(i = 0; i<3; i++)
{
// Finding the inverse of matrix Adew
mf16_qr_decomposition(ptr_q, ptr_r, ptr_Adew, 0);
mf16_mul(ptr_Adew, ptr_r, ptr_q);
}
Again thank you!! :)