Module jas :: Class WordRing
[hide private]
[frames] | no frames]

Class WordRing

source code

Ring --+
       |
      WordRing

Represents a JAS free non-commutative polynomial ring: GenWordPolynomialRing.

Has a method to create word ideals. <b>Note:</b> watch your step: check that jython does not reorder multiplication.

Instance Methods [hide private]
 
__init__(self, ringstr="", ring=None)
Word polynomial ring constructor.
source code
 
__str__(self)
Create a string representation.
source code
 
ideal(self, ringstr="", list=None)
Create a word ideal.
source code
 
one(self)
Get the one of the word polynomial ring.
source code
 
zero(self)
Get the zero of the word polynomial ring.
source code
 
random(self, k, l, d)
Get a random word polynomial.
source code
 
element(self, poly)
Create an element from a string or object.
source code

Inherited from Ring: __eq__, algebraicRoots, complexRoots, decimalRoots, factors, factorsAbsolute, gcd, gens, inject_variables, integrate, paramideal, powerseriesRing, realRoots, rootReduce, rootRefine, rootsOfUnity, squarefreeFactors, variable_generators

Static Methods [hide private]

Inherited from Ring: getEngineFactor, getEngineGcd, getEngineSqf

Method Details [hide private]

__init__(self, ringstr="", ring=None)
(Constructor)

source code 

Word polynomial ring constructor.

Overrides: Ring.__init__

__str__(self)
(Informal representation operator)

source code 

Create a string representation.

Overrides: Ring.__str__

ideal(self, ringstr="", list=None)

source code 

Create a word ideal.

Overrides: Ring.ideal

one(self)

source code 

Get the one of the word polynomial ring.

Overrides: Ring.one

zero(self)

source code 

Get the zero of the word polynomial ring.

Overrides: Ring.zero

random(self, k, l, d)

source code 

Get a random word polynomial.

Overrides: Ring.random

element(self, poly)

source code 

Create an element from a string or object.

Overrides: Ring.element