- All Superinterfaces:
Monomial,NumericExpression,RationalExpression,SymbolicExpression,SymbolicObject
- All Known Subinterfaces:
Polynomial,Primitive,PrimitivePower
A Monic is a product of powers of primitive expressions x1i
1*...*xnin, where the x
i are primitives and the ij are positive concrete ints.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.civl.sarl.IF.expr.SymbolicExpression
SymbolicExpression.SymbolicOperatorNested classes/interfaces inherited from interface dev.civl.sarl.IF.object.SymbolicObject
SymbolicObject.SymbolicObjectKind -
Method Summary
Modifier and TypeMethodDescriptionbooleanIs this the trivial monic, i.e., the monic consisting of 0 factors (and therefore equivalent to 1)?monicFactors(IdealFactory factory) Returns the factors of this monic as a map fromPrimitivetoPrimitivePower.powerInt(IdealFactory factory, IntegerNumber exponent) Computes an expression equivalent to raising this expression to theexponentpower.Methods inherited from interface dev.civl.sarl.ideal.IF.Monomial
expand, getTruePrimitives, hasNontrivialExpansion, lower, maxDegreeOf, monic, monomialConstant, monomialDegree, monomialOrder, termMap, totalDegreeMethods inherited from interface dev.civl.sarl.ideal.IF.RationalExpression
denominator, numerator, powerRationalMethods inherited from interface dev.civl.sarl.IF.expr.SymbolicExpression
argument, atomString, getArguments, getFreeVars, isFalse, isNull, isNumeric, isOne, isTrue, isZero, numArguments, operator, printCompressedTree, size, typeMethods inherited from interface dev.civl.sarl.IF.object.SymbolicObject
containsQuantifier, containsSubobject, containsSubobjectIgnoringType, equals, getOrder, hashCode, id, isCanonic, setInCanonic, setOrder, symbolicObjectKind, toString, toStringBuffer, toStringBufferLong
-
Method Details
-
monicFactors
Returns the factors of this monic as a map fromPrimitivetoPrimitivePower. A key in the map is a primitive x and the value associated to x will be a primitive power xi (x raised to the ith power) for some positive integer i.- Parameters:
factory- the factory used to produce this monic- Returns:
- the factors of this monic as a map
-
isTrivialMonic
boolean isTrivialMonic()Is this the trivial monic, i.e., the monic consisting of 0 factors (and therefore equivalent to 1)?- Returns:
trueiff this monic is trivial
-
powerInt
Description copied from interface:RationalExpressionComputes an expression equivalent to raising this expression to theexponentpower. In this case the exponent is anIntegerNumber.- Specified by:
powerIntin interfaceMonomial- Specified by:
powerIntin interfaceRationalExpression- Parameters:
factory- the ideal factory responsible for this expressionexponent- the power to which this expression should be raised, must be positive- Returns:
- an expression equivalent to raising this expression to the
exponentpower
-