|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rubato.math.module.morphism.ModuleMorphism
org.rubato.math.module.morphism.ZnAbstractMorphism
public abstract class ZnAbstractMorphism
The abstract base class for morphisms in Zn.
Constructor Summary | |
---|---|
ZnAbstractMorphism(int modulus)
|
Method Summary | |
---|---|
int |
getModulus()
Returns the modulus of the (co)domain modular ring. |
ModuleMorphism |
getRingMorphism()
Returns the the ring morphism that transforms between the rings of the domain and codomain modules. |
ModuleElement |
map(ModuleElement x)
Maps the element x . |
abstract int |
mapValue(int x)
The low-level map method. |
Methods inherited from class org.rubato.math.module.morphism.ModuleMorphism |
---|
atZero, clone, compareTo, composable, compose, difference, equals, getCodomain, getConstantMorphism, getConstantMorphism, getDomain, getIdentityMorphism, inDomain, isConstant, isIdentity, isLinear, isModuleHomomorphism, isRingHomomorphism, isRingMorphism, power, scaled, sum, toString |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.rubato.xml.XMLInputOutput |
---|
fromXML, getElementTypeName, toXML |
Constructor Detail |
---|
public ZnAbstractMorphism(int modulus)
Method Detail |
---|
public ModuleElement map(ModuleElement x) throws MappingException
ModuleMorphism
x
.
This must be implemented for each specific morphism type.
map
in class ModuleMorphism
x
MappingException
- if mapping of element fails
public abstract int mapValue(int x)
public int getModulus()
public ModuleMorphism getRingMorphism()
ModuleMorphism
getRingMorphism
in class ModuleMorphism
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |