16. The rank of an \( n \times n \) matrix \( \mathbf{A} \) is equal to the number of nonzero eigenvalues of \( \mathbf{A} \), where eigenvalues are counted according to multiplicity.