| 1 | initial version |
You could have a look at this answer:
https://ask.sagemath.org/question/33310/help-with-matrices-over-multivariable-polynomial-ring/?answer=33315#post-id-33315
TL;DR replace:
A = QQ['theta1', 'theta2']
with:
A = QQ['theta1', 'theta2']
A.inject_variables()
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.