JScience v3.3

org.jscience.mathematics.structures
Interface GroupAdditive<G>

All Superinterfaces:
Immutable, Realtime, java.io.Serializable, Structure<G>
All Known Subinterfaces:
Field<F>, Ring<R>, VectorSpace<V,F>, VectorSpaceNormed<V,F>
All Known Implementing Classes:
Complex, ComplexMatrix, ComplexVector, Constant, DenseMatrix, DenseVector, Float64, Float64Matrix, Float64Vector, Integer64, LargeInteger, Matrix, Measure, MeasureVector, ModuloInteger, Number, Polynomial, Rational, RationalFunction, Real, SparseMatrix, SparseVector, Vector

public interface GroupAdditive<G>
extends Structure<G>

This interface represents a structure with a binary additive operation (+), satisfying the group axioms (associativity, neutral element, inverse element and closure).

Version:
3.0, February 13, 2006
Author:
Jean-Marie Dautelle
See Also:
Wikipedia: Mathematical Group

Nested Class Summary
 
Nested classes/interfaces inherited from interface javolution.context.Realtime
Realtime.ObjectSpace
 
Method Summary
 G opposite()
          Returns the additive inverse of this object.
 G plus(G that)
          Returns the sum of this object with the one specified.
 
Methods inherited from interface javolution.context.Realtime
move, toText
 

Method Detail

plus

G plus(G that)
Returns the sum of this object with the one specified.

Parameters:
that - the object to be added.
Returns:
this + that.

opposite

G opposite()
Returns the additive inverse of this object. It is the object such as this.plus(this.opposite()) == ZERO, with ZERO being the additive identity.

Returns:
-this.

JScience v3.3

Copyright © 2006 JScience.