1. How to judge whether a matrix is similar to a diagonal matrix? 2. What kind of matrix is diagonal?

1. How to judge whether a matrix is similar to a diagonal matrix? 2. What kind of matrix is diagonal?

1. Whether there are n eigenvalues
2. Only the matrix whose diagonal value is not zero
=============
Read a good book