|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
G - an Abelian grouppublic interface AbelianGroup<G>
This interface represents an Abelian group.
An Abelian group is a group with a binary additive operation (+), satisfying the group axioms:
| Method Summary | |
|---|---|
G |
add(G that)
+ : G × G → G |
G |
minus(G that)
- : G × G → G
- 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
That is, it is the object such as
this.add(this.opposite()) == this.ZERO |
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. |
| Method Detail |
|---|
G add(G that)
+ : G × G → G
that - the object to be added
this + thatG minus(G that)
- : G × G → G
- is not in the definition of of an additive group but can be deduced.
This function is provided for convenience purpose.
It is equivalent to
this.add(that.opposite())
that - the object to be subtracted (subtrahend)
this - thatG opposite()
a + b = b + a = 0
That is, it is the object such as
this.add(this.opposite()) == this.ZERO
-thisG ZERO()
a in the group,
the equation 0 + a = a + 0 = a holds.
0
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||