For a general parameter (t) dependent m x m matrix, M(t), can one always diagonalize it by evaluating
D (t)=U(t)^{-1}M(t)U(t),
where D(t) is a diagonal matrix. Under what conditions can I numerically evaluate U(t) such that the parametric dependence is retained either exactly or to a very good approximation.
I would also like to know some standard algorithms or approximations. In case I am conceptually not right about thinking this way, please point out the error.