Is there any ready code which gives an algorithm of expressing a matrix pencil in its Kronecker's Canonical Form?
There is an old result which gives an algorithm for an arbitrary pencil but it is lengthy and looks quite tedious.
http://www.sciencedirect.com/science/article/pii/0024379579900351