Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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]