See attachmentC:\fakepath\Screenshot (104).png
I basically have 2 matrices with entries in Qp. I cant exactly do Matrix2.charpoly() as this is det (xI-Matrix2) and I want determinant of (I-xMatrix2). So I decided to just type det(I-x*Matrix2) but it gives me error. Is there a way to fix this?
If you want me to be honest, I get an error just from I-x*Matrix2. So it might not even be the determinant function.