Splitting subpsaces and a finite field interpretation of the Touchard-Riordan formula

Demo worksheet

This is a demo worksheet for the article Splitting subspaces and a finite field interpretation of the Touchard-Riordan formula by Amritanshu Prasad and Samrith Ram.

The code is available from https:/www.imsc.res.in/~amri/splitting_subspaces/splitting_subspaces.py

Computing the similarity class type of a matrix

Computing the invariant subspace generating function

It can be computed from a similarity class type:

or from a matrix:

Computing the number of splitting subspaces

It can be computed from a similarity class type:

or from a matrix

A larger matrix

The following computation will be infeasible without our results: