1 | initial version |
You can use our wrapper for Singular's non-commutative component Plural. In particular, you can create a G-algebra for this ring as follows:
sage: A.<x0,x1,x2> = FreeAlgebra(QQ, 3)
sage: A
Free Algebra on 3 generators (x0, x1, x2) over Rational Field
sage: R.<x0,x1,x2> = A.g_algebra({x1*x0: -x0*x1, x2*x0: -x0*x2, x2*x1: -x1*x2})
sage: R
Noncommutative Multivariate Polynomial Ring in x0, x1, x2 over Rational Field, nc-relations: {x2*x1: -x1*x2, x2*x0: -x0*x2, x1*x0: -x0*x1}
sage: x2*x1
-x1*x2
sage: x1*x2
x1*x2