CoreNilpotentDecomposition
CoreNilpotentDecomposition[m] yields the core-nilpotent decomposition of a square matrix m.
CoreNilpotentDecomposition[m, format] returns the core-nilpotent decomposition according to the specified format.
Examples
Decompose a matrix:
CoreNilpotentDecomposition[{{1, 2}, {0, 0}}]Please visit the official Wolfram Language Reference for more details.