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.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.