Allow det(A - x I) or det(x I - A) for characteristic polynomial.