org.jscience.mathematics.algebraic.groups
Interface AbelianGroup

All Known Subinterfaces:
BanachSpace, Field, GradedVectorSpace, Module, Ring, VectorSpace
All Known Implementing Classes:
BooleanMatrixAlgebra, BooleanRing, ComplexField, ComplexMatrixAlgebra, ComplexPolynomialRing, CyclicGroup, DoubleField, DoubleMatrixAlgebra, DoublePolynomialRing, ExactComplexField, ExactComplexPolynomialRing, ExactIntegerRing, ExactRationalField, ExactRealField, ExactRealPolynomialRing, Hilb.OperatorSpace, HilbertSpace, IntegerMatrixAlgebra, IntegerRing, RationalField

public interface AbelianGroup

This interface defines an abelian group.


Nested Class Summary
static interface AbelianGroup.Member
          This interface defines a member of an abelian group.
 
Method Summary
 boolean isNegative(AbelianGroup.Member a, AbelianGroup.Member b)
          Returns true if one member is the negative of the other.
 boolean isZero(AbelianGroup.Member g)
          Returns true if the member is the identity element of this group.
 AbelianGroup.Member zero()
          Returns the identity element.
 

Method Detail

zero

AbelianGroup.Member zero()
Returns the identity element.

Returns:
DOCUMENT ME!

isZero

boolean isZero(AbelianGroup.Member g)
Returns true if the member is the identity element of this group.

Parameters:
g - a group member
Returns:
DOCUMENT ME!

isNegative

boolean isNegative(AbelianGroup.Member a,
                   AbelianGroup.Member b)
Returns true if one member is the negative of the other.

Parameters:
a - a group member
b - a group member
Returns:
DOCUMENT ME!