<div id="comment:0"></div> ``` sage: companion_matrix([QQ.one()]).parent() Full MatrixSpace of 0 by 0 dense matrices over Integer Ring ``` Component: **linear algebra** Author: **Marc Mezzarobba** Branch/Commit: **[`9acf764`](https://github.com/sagemath/sagetrac-mirror/commit/9acf7643c3999d616ae100df9e4aa86b9cc1cb23)** Reviewer: **David Ayotte** _Issue created by migration from https://trac.sagemath.org/ticket/34691_