edu.jas.structure
Interface MonoidElem<C extends MonoidElem<C>>
-
- Type Parameters:
C- element type
- All Superinterfaces:
- java.lang.Comparable<C>, Element<C>, java.io.Serializable
- All Known Subinterfaces:
- AlgebraElem<A,C>, FieldElem<C>, GcdRingElem<C>, IAST, IBigNumber, IComplex, IComplexNum, IExpr, IFraction, IInteger, INum, INumber, IPattern, IPatternSequence, IRational, ISignedNumber, IStringX, ISymbol, Polynomial<C>, RegularRingElem<C>, RingElem<C>, StarRingElem<C>
- All Known Implementing Classes:
- AlgebraicNumber, AST, BigComplex, BigDecimal, BigInteger, BigOctonion, BigQuaternion, BigRational, Complex, ComplexAlgebraicNumber, ComplexNum, ComplexSym, ExprImpl, FractionSym, GenMatrix, GenPolynomial, GenSolvablePolynomial, GenWordPolynomial, IntegerSym, Local, Local, LocalSolvablePolynomial, MethodSymbol, ModInteger, ModLong, MultiVarPowerSeries, Num, Pattern, PatternSequence, Product, QLRSolvablePolynomial, Quotient, Quotient, QuotSolvablePolynomial, RealAlgebraicNumber, RealAlgebraicNumber, RecSolvablePolynomial, Residue, Residue, ResidueSolvablePolynomial, SolvableLocal, SolvableLocalResidue, SolvableQuotient, SolvableResidue, StringX, Symbol, UnivPowerSeries, Word
public interface MonoidElem<C extends MonoidElem<C>> extends Element<C>
Monoid element interface. Defines the multiplicative methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Cdivide(C S)Divide this by S.Cinverse()Inverse of this.booleanisONE()Test if this is one.booleanisUnit()Test if this is a unit.Cmultiply(C S)Multiply this with S.Cremainder(C S)Remainder after division of this by S.
-
-
-
Method Detail
-
isONE
boolean isONE()
Test if this is one.- Returns:
- true if this is 1, else false.
-
isUnit
boolean isUnit()
Test if this is a unit. I.e. there exists x with this.multiply(x).isONE() == true.- Returns:
- true if this is a unit, else false.
-
remainder
C remainder(C S)
Remainder after division of this by S.- Parameters:
S-- Returns:
- this - (this / S) * S.
-
inverse
C inverse()
Inverse of this. Some implementing classes will throw NotInvertibleException if the element is not invertible.- Returns:
- x with this * x = 1, if it exists.
-
-
DMelt 3.0 © DataMelt by jWork.ORG