org.rubato.math.module.morphism
Class DirectSumAbstractMorphism
java.lang.Object
org.rubato.math.module.morphism.ModuleMorphism
org.rubato.math.module.morphism.DirectSumAbstractMorphism
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ModuleMorphism>, XMLInputOutput<ModuleMorphism>
public abstract class DirectSumAbstractMorphism
- extends ModuleMorphism
The abstract base class for morphisms in a composite module.
- Author:
- Gérard Milmeister
- See Also:
- Serialized Form
Methods inherited from class org.rubato.math.module.morphism.ModuleMorphism |
atZero, clone, compareTo, composable, compose, difference, equals, getCodomain, getConstantMorphism, getConstantMorphism, getDomain, getIdentityMorphism, getRingMorphism, 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 |
DirectSumAbstractMorphism
public DirectSumAbstractMorphism(DirectSumModule domain,
DirectSumModule codomain)
map
public final ModuleElement map(ModuleElement x)
throws MappingException
- Description copied from class:
ModuleMorphism
- Maps the element
x
.
This must be implemented for each specific morphism type.
- Specified by:
map
in class ModuleMorphism
- Returns:
- the result of mapping element
x
- Throws:
MappingException
- if mapping of element fails
mapValue
public abstract DirectSumElement mapValue(DirectSumElement x)
- The low-level map method.
This must be implemented by subclasses.