Jordan Form a symbolic algorithm of jordan form implemented by sympy Everything is in the ipynb file. Also see the article in Zhihu: https://zhuanlan.zhihu.com/p/346584190