our EJA, and you can't add/multiply/etc. them.
"""
- def __add__(self, other):
+ def _add_(self, other):
"""
Add two EJA morphisms in the obvious way.
check=False)
- def __invert__(self):
+ def _invert_(self):
"""
EXAMPLES::
return FiniteDimensionalEuclideanJordanAlgebraMorphism(self.parent(),
A.inverse())
- def __mul__(self, other):
+ def _lmul_(self, other):
"""
Compose two EJA morphisms using multiplicative notation.
self.matrix()*other.matrix() )
- def __neg__(self):
+ def _neg_(self):
"""
Negate this morphism.