First time here? Check out the FAQ!
answered 2021-11-11 17:59:18 +0200
nihao
like that
sage: A = QQ['x'] sage: x = A.gen() sage: m = matrix(A, 2, 2) sage: m[1, 1] = x sage: m [0 0] [0 x]