Interface GroupAdditive<G>
- All Superinterfaces:
javolution.lang.Immutable
,Structure<G>
,javolution.lang.ValueType
- All Known Subinterfaces:
Field<F>
,Ring<R>
,VectorSpace<V,
,F> VectorSpaceNormed<V,
F>
- All Known Implementing Classes:
Amount
,Complex
,ComplexMatrix
,ComplexVector
,Constant
,DenseMatrix
,DenseVector
,Float64
,Float64Matrix
,Float64Vector
,FloatingPoint
,Integer64
,LargeInteger
,Matrix
,ModuloInteger
,Number
,Polynomial
,Rational
,RationalFunction
,Real
,SparseMatrix
,SparseVector
,Vector
This interface represents a structure with a binary additive
operation (+), satisfying the group axioms (associativity, neutral element,
inverse element and closure).
- See Also:
-
Method Summary
Methods inherited from interface javolution.lang.ValueType
copy
-
Method Details
-
plus
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 asthis.plus(this.opposite()) == ZERO
, withZERO
being the additive identity.- Returns:
-this
.
-