Package org.meeuw.math.abstractalgebra
Interface MultiplicativeSemiGroupElement<E extends MultiplicativeSemiGroupElement<E>>
-
- All Superinterfaces:
AlgebraicElement<E>
- All Known Subinterfaces:
CompleteFieldElement<E>
,DivisionRingElement<E>
,FieldElement<E>
,MultiplicativeGroupElement<E>
,MultiplicativeMonoidElement<E>
,RingElement<E>
,RngElement<E>
,ScalarFieldElement<E>
,UncertainReal
- All Known Implementing Classes:
UncertainDoubleElement
public interface MultiplicativeSemiGroupElement<E extends MultiplicativeSemiGroupElement<E>> extends AlgebraicElement<E>
Elements of aMultiplicativeSemiGroup
can be multiplied by each other (viatimes(MultiplicativeSemiGroupElement)
.- Since:
- 0.4
- Author:
- Michiel Meeuwissen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MultiplicativeSemiGroup<E>
getStructure()
Returns theAlgebraicStructure
associated with the object.default E
pow(@javax.validation.constraints.Min(1L) int n)
if multiplication is defined, then so is exponentiation, as long as the exponent is a positive integer.default E
sqr()
Returns this element multiplied by itself.E
times(E multiplier)
default E
x(E multiplier)
less verbose version oftimes(MultiplicativeSemiGroupElement)
-
-
-
Method Detail
-
getStructure
MultiplicativeSemiGroup<E> getStructure()
Description copied from interface:AlgebraicElement
Returns theAlgebraicStructure
associated with the object.- Specified by:
getStructure
in interfaceAlgebraicElement<E extends MultiplicativeSemiGroupElement<E>>
-
x
default E x(E multiplier)
less verbose version oftimes(MultiplicativeSemiGroupElement)
-
pow
default E pow(@Min(1L) @javax.validation.constraints.Min(1L) int n)
if multiplication is defined, then so is exponentiation, as long as the exponent is a positive integer.
-
sqr
default E sqr()
Returns this element multiplied by itself.
-
-