Package org.meeuw.math.abstractalgebra
Interface ScalarFieldElement<E extends ScalarFieldElement<E>>
-
- All Superinterfaces:
AdditiveGroupElement<E>
,AdditiveMonoidElement<E>
,AdditiveSemiGroupElement<E>
,AlgebraicElement<E>
,Comparable<E>
,DivisionRingElement<E>
,FieldElement<E>
,MultiplicativeGroupElement<E>
,MultiplicativeMonoidElement<E>
,MultiplicativeSemiGroupElement<E>
,RingElement<E>
,RngElement<E>
,Scalar<E>
,SignedNumber
,Sizeable<E>
- All Known Subinterfaces:
CompleteFieldElement<E>
,UncertainReal
- All Known Implementing Classes:
UncertainDoubleElement
public interface ScalarFieldElement<E extends ScalarFieldElement<E>> extends FieldElement<E>, Scalar<E>
A field element that is also a scalar, e.g. it is very much like a number.- Since:
- 0.4
- Author:
- Michiel Meeuwissen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ScalarField<E>
getStructure()
Returns theAlgebraicStructure
associated with the object.default boolean
isZero()
-
Methods inherited from interface org.meeuw.math.abstractalgebra.AdditiveGroupElement
minus, negation, repeatedPlus
-
Methods inherited from interface org.meeuw.math.abstractalgebra.AdditiveSemiGroupElement
p, plus
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.meeuw.math.abstractalgebra.MultiplicativeGroupElement
dividedBy, pow, reciprocal
-
Methods inherited from interface org.meeuw.math.abstractalgebra.MultiplicativeMonoidElement
isOne
-
Methods inherited from interface org.meeuw.math.abstractalgebra.MultiplicativeSemiGroupElement
sqr, times, x
-
Methods inherited from interface org.meeuw.math.numbers.Scalar
bigDecimalValue, byteValue, doubleValue, floatValue, gt, gte, intValue, isFinite, isNaN, longValue, lt, lte, shortValue
-
Methods inherited from interface org.meeuw.math.numbers.SignedNumber
isNegative, isPositive, signum
-
-
-
-
Method Detail
-
getStructure
ScalarField<E> getStructure()
Description copied from interface:AlgebraicElement
Returns theAlgebraicStructure
associated with the object.- Specified by:
getStructure
in interfaceAdditiveGroupElement<E extends ScalarFieldElement<E>>
- Specified by:
getStructure
in interfaceAdditiveMonoidElement<E extends ScalarFieldElement<E>>
- Specified by:
getStructure
in interfaceAdditiveSemiGroupElement<E extends ScalarFieldElement<E>>
- Specified by:
getStructure
in interfaceAlgebraicElement<E extends ScalarFieldElement<E>>
- Specified by:
getStructure
in interfaceDivisionRingElement<E extends ScalarFieldElement<E>>
- Specified by:
getStructure
in interfaceFieldElement<E extends ScalarFieldElement<E>>
- Specified by:
getStructure
in interfaceMultiplicativeGroupElement<E extends ScalarFieldElement<E>>
- Specified by:
getStructure
in interfaceMultiplicativeMonoidElement<E extends ScalarFieldElement<E>>
- Specified by:
getStructure
in interfaceMultiplicativeSemiGroupElement<E extends ScalarFieldElement<E>>
- Specified by:
getStructure
in interfaceRingElement<E extends ScalarFieldElement<E>>
- Specified by:
getStructure
in interfaceRngElement<E extends ScalarFieldElement<E>>
-
isZero
default boolean isZero()
- Specified by:
isZero
in interfaceAdditiveMonoidElement<E extends ScalarFieldElement<E>>
- Specified by:
isZero
in interfaceSignedNumber
-
-