⚲
diagonalization_d
Calculates the diagonal matrix D such that A = P x D x inv(P).
Arguments
Input matrix A
Output
D matrix
Examples