|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rubato.math.module.Ring
org.rubato.math.module.ModularPolynomialRing
public final class ModularPolynomialRing
The ring of polynomials with coefficients in a specified ring modulo another polynomial.
PolynomialElement
,
Serialized FormMethod Summary | |
---|---|
ModularPolynomialElement |
cast(ModuleElement element)
Casts element to an element in this module if possible. |
int |
compareTo(Module object)
Compares this module with object . |
ModularPolynomialElement |
createElement(java.util.List<ModuleElement> elements)
Creates an element in this module from a list of module elements. |
boolean |
equals(java.lang.Object object)
Returns true iff this module is equals to object . |
Module |
fromXML(XMLReader reader,
org.w3c.dom.Element element)
Reads XML representation from reader starting with element . |
Ring |
getBaseRing()
|
Ring |
getCoefficientRing()
Returns the ring of the coefficients of the polynomials. |
java.lang.String |
getElementTypeName()
Returns the value of the type attribute for this class. |
ModularPolynomialFreeModule |
getFreeModule(int dimension)
Returns the corresponding free module of dimension dim . |
ModuleMorphism |
getIdentityMorphism()
Returns the identity morphism in this module. |
java.lang.String |
getIndeterminate()
Returns the indeterminate of this modular polynomial module. |
java.util.List<java.lang.String> |
getIndeterminates()
|
PolynomialElement |
getModulus()
Returns the modulus of this modular polynomial module. |
PolynomialRing |
getModulusRing()
Returns the ring of the modulus. |
ModularPolynomialFreeModule |
getNullModule()
Returns the null-module corresponding to this module. |
ModularPolynomialElement |
getOne()
Returns the unit element of this ring. |
static XMLInputOutput<Module> |
getXMLInputOutput()
|
ModularPolynomialElement |
getZero()
Returns the zero element of this ring. |
boolean |
hasElement(ModuleElement element)
Returns true iff element is an element of this module. |
int |
hashCode()
Returns the hash code for this module. |
boolean |
hasIndeterminate(java.lang.String indet)
|
boolean |
isField()
Returns true if this ring is a field. |
boolean |
isVectorspace()
Returns true if this free module is a vector space. |
static ModularPolynomialRing |
make(PolynomialElement modulus)
|
ModularPolynomialElement |
parseString(java.lang.String string)
Creates an element in this module from a string representation. |
java.lang.String |
toString()
Returns a human readable string representation of this module. |
java.lang.String |
toVisualString()
Returns a human readable string representation of this module. |
void |
toXML(XMLWriter writer)
Outputs XML representation to writer . |
Methods inherited from class org.rubato.math.module.Ring |
---|
getComponentModule, getDimension, getInjection, getProjection, getRing, getTranslation, getUnitElement, isNullModule, isRing |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.rubato.math.module.FreeModule |
---|
getInjection, getProjection, getUnitElement |
Methods inherited from interface org.rubato.math.module.Module |
---|
getComponentModule, getDimension, getRing, getTranslation, isNullModule, isRing |
Method Detail |
---|
public static ModularPolynomialRing make(PolynomialElement modulus)
public java.lang.String getIndeterminate()
ModularPolynomialFreeModule
getIndeterminate
in interface ModularPolynomialFreeModule
public boolean hasIndeterminate(java.lang.String indet)
public java.util.List<java.lang.String> getIndeterminates()
public Ring getCoefficientRing()
ModularPolynomialFreeModule
getCoefficientRing
in interface ModularPolynomialFreeModule
public Ring getBaseRing()
public PolynomialElement getModulus()
ModularPolynomialFreeModule
getModulus
in interface ModularPolynomialFreeModule
public PolynomialRing getModulusRing()
ModularPolynomialFreeModule
getModulusRing
in interface ModularPolynomialFreeModule
public ModularPolynomialElement getZero()
Ring
getZero
in interface Module
getZero
in class Ring
public ModularPolynomialElement getOne()
Ring
getOne
in class Ring
public ModularPolynomialFreeModule getNullModule()
Module
getNullModule
in interface Module
public boolean isField()
Ring
isField
in class Ring
public boolean isVectorspace()
FreeModule
isVectorspace
in interface FreeModule
public ModuleMorphism getIdentityMorphism()
Module
getIdentityMorphism
in interface Module
public boolean hasElement(ModuleElement element)
Module
element
is an element of this module.
hasElement
in interface Module
public ModularPolynomialFreeModule getFreeModule(int dimension)
Ring
dim
.
getFreeModule
in class Ring
public boolean equals(java.lang.Object object)
Module
object
.
equals
in interface Module
equals
in class java.lang.Object
public int compareTo(Module object)
Module
object
.
compareTo
in interface java.lang.Comparable<Module>
compareTo
in interface Module
compareTo
in class Ring
public ModularPolynomialElement createElement(java.util.List<ModuleElement> elements)
Module
createElement
in interface Module
public ModularPolynomialElement cast(ModuleElement element)
Module
element
to an element in this module if possible.
cast
in interface Module
public java.lang.String toString()
Module
toString
in interface Module
toString
in class java.lang.Object
public java.lang.String toVisualString()
Module
toVisualString
in interface Module
public ModularPolynomialElement parseString(java.lang.String string)
Module
parseString
in interface Module
parseString
in class Ring
public void toXML(XMLWriter writer)
XMLInputOutput
writer
.
toXML
in interface XMLInputOutput<Module>
public Module fromXML(XMLReader reader, org.w3c.dom.Element element)
XMLInputOutput
reader
starting with element
.
fromXML
in interface XMLInputOutput<Module>
public static XMLInputOutput<Module> getXMLInputOutput()
public java.lang.String getElementTypeName()
XMLInputOutput
getElementTypeName
in interface XMLInputOutput<Module>
public int hashCode()
Module
hashCode
in interface Module
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |