Calculating the Jordan form of a matrix

A Jordan block with value λ is a square, upper triangular matrix whose entries are all λ on the diagonal, 1 on the entries immediately above the diagonal, and 0 elsewhere.

Typical Jordan blocks of size 1, 2, and 3 look like the following:

A Jordan form matrix is a block diagonal matrix whose blocks are all Jordan blocks. For example, the following matrices are all Jordan form matrices:

In the first matrix among the preceding set of matrices, we should notice that the block on the top left [[1,1],[0,1]] ...

Get SciPy Recipes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.