Package edu.jas.poly
Class WeylRelations<C extends RingElem<C>>
- java.lang.Object
-
- edu.jas.poly.WeylRelations<C>
-
- All Implemented Interfaces:
RelationGenerator<C>
public class WeylRelations<C extends RingElem<C>> extends java.lang.Object implements RelationGenerator<C>
Generate Relation Table for Weyl Algebras Adds the respective relations to the relation table of the given solvable ring factory. Relations are of the form xj * xi = xi xj + 1. Block form: R{x1,...,xn,y1,...,yn; yi*xi = xi yi + 1}.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.logging.log4j.Logger
logger
private GenSolvablePolynomialRing<C>
ring
The factory for the solvable polynomial ring.
-
Constructor Summary
Constructors Constructor Description WeylRelations()
The no argument constructor.WeylRelations(GenSolvablePolynomialRing<C> r)
The constructor requires a ring factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generate()
Generates the relation table of this ring.void
generate(GenSolvablePolynomialRing<C> ring)
Generates the relation table of this ring.
-
-
-
Field Detail
-
ring
private final GenSolvablePolynomialRing<C extends RingElem<C>> ring
The factory for the solvable polynomial ring.
-
logger
private static final org.apache.logging.log4j.Logger logger
-
-
Constructor Detail
-
WeylRelations
public WeylRelations()
The no argument constructor. The relation table of this ring is setup to a Weyl Algebra.
-
WeylRelations
public WeylRelations(GenSolvablePolynomialRing<C> r)
The constructor requires a ring factory. The relation table of this ring is setup to a Weyl Algebra.- Parameters:
r
- solvable polynomial ring factory, r must have even number of variables.
-
-
Method Detail
-
generate
public void generate()
Generates the relation table of this ring. Block form: R{x1,...,xn,y1,...,yn; yi*xi = xi yi + 1}.
-
generate
public void generate(GenSolvablePolynomialRing<C> ring)
Generates the relation table of this ring. Block form: R{x1,...,xn,y1,...,yn; yi*xi = xi yi + 1}.- Specified by:
generate
in interfaceRelationGenerator<C extends RingElem<C>>
- Parameters:
ring
- solvable polynomial ring factory, ring must have even number of variables.- See Also:
RelationGenerator.generate(edu.jas.poly.GenSolvablePolynomialRing)
-
-