Basic interface for all types of group elements.
Basic interface for all types of groups.
bool IsAbelian
If the group + operator is commutative or not.
IGroupElement LeftSubtract(IGroupElement Left, IGroupElement Right)
Subtracts the left group element from the right one: (-Left)+Right.
IGroupElement AdditiveIdentity
Returns the additive identity of the group.
IGroupElement RightSubtract(IGroupElement Left, IGroupElement Right)
Subtracts the right group element from the left one: Left+(-Right)
Basic interface for all types of semigroups.