up previous next
NewWeylAlgebra

create a new Weyl Algebra

Syntax
NewWeylAlgebra(K: RING, Indets: STRING): RING
NewWeylAlgebra(K: RING, Indets: STRING, ..): RING

Description
Create a new Weyl Algebra.

NOTE: calling twice NewWeylAlgebra will produce two different rings, even with identical input: equality test is performed on the pointers. See RingID .

Example
/**/ NewWeylAlgebra(QQ,"x,y");
RingWithID(3, "QQ[x,y,dx,dy]")