G
- an Abelian grouppublic interface AbelianGroup<G>
Modifier and Type | Method and Description |
---|---|
G |
add(G that)
+ : G × G → G
|
G |
minus(G that)
- : G × G → G
The operation "-" is not in the definition of of an additive group but can be deduced.
|
G |
opposite()
For each a in G, there exists an element b in G such that
a + b = b + a = 0.
|
G |
ZERO()
The additive element 0 in the group, such that for all elements a in the group,
the equation 0 + a = a + 0 = a holds.
|
G minus(G that)
this.add(that.opposite())
.that
- the object to be subtracted (subtrahend)G opposite()
this.add(this.opposite()) == this.ZERO
G ZERO()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.