Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Use the tensor algebra

sage: R = algebras.Free(QQ,['A','B','C'])
sage: A,B,C = R.gens()
sage: A*B-B*A
A*B - B*A