Question: Function that diagonalises a 2x2 complex matrix

February 25 2014 Shanobadur 15

Given a 2x2 matrix I am struggling to write a function that would return a list (a,b, a1, a2) of 2 complex numbers followed by 2 vectors such that the set of the 2 vectors is a basis for CxC and also Ab1=ab1, Ab2=Bb2 if these exist


Any ideas would be greatly appreciated

Please Wait...