nilpotent matrix

Input interpretation

nilpotent matrix

Definition

There are two equivalent definitions for a nilpotent matrix. 
1. A square matrix whose eigenvalues are all 0. 
2. A square matrix A such that A^n is the zero matrix 0 for some positive integer matrix power n, known as the index.