30 return base.RightSubtract(Left, Right);
44 return base.LeftSubtract(Left, Right);
Base class for all types of abelian groups.
virtual IAbelianGroupElement Subtract(IAbelianGroupElement Left, IAbelianGroupElement Right)
Subtracts the right group element from the left one: Left-Right
override sealed IGroupElement RightSubtract(IGroupElement Left, IGroupElement Right)
Subtracts the right group element from the left one: Left+(-Right)
override sealed bool IsAbelian
If the group + operator is commutative or not. (For abelian groups, this is always true....
abstract IAbelianGroupElement Zero
Returns the zero element of the group.
AbelianGroup()
Base class for all types of abelian groups.
override sealed IGroupElement AdditiveIdentity
Returns the additive identity of the group. (For abelian groups, this calls Zero.)
override sealed IGroupElement LeftSubtract(IGroupElement Left, IGroupElement Right)
Subtracts the left group element from the right one: (-Left)+Right.
Base class for all types of groups.
virtual ISemiGroupElement Add(ISemiGroupElement Left, ISemiGroupElement Right)
Adds two semigroup elements, if possible.
Basic interface for all types of abelian group elements.
Basic interface for all types of group elements.
IGroupElement Negate()
Negates the element.
Basic interface for all types of abelian groups.