Which of the following conditions ensures that a n×nn \times nn×n matrix AAA is diagonalizable?
A has nnn distinct eigenvalues
AAA is singular
A has only one eigenvalue
AAA is nilpotent