-
-
Method Summary
Computes an expression equivalent to raising this expression to the
exponent power.
Returns the
Primitive which is the base in this primitive power
expression.
Returns the exponent in this primitive power expression, which is a
positive integer represented as an
NumberObject.
Methods inherited from interface dev.civl.sarl.ideal.IF.Monomial
expand, getTruePrimitives, hasNontrivialExpansion, lower, maxDegreeOf, monic, monomialConstant, monomialDegree, monomialOrder, termMap, totalDegree
Methods inherited from interface dev.civl.sarl.IF.expr.SymbolicExpression
argument, atomString, getArguments, getFreeVars, isFalse, isNull, isNumeric, isOne, isTrue, isZero, numArguments, operator, printCompressedTree, size, type
Methods 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
-
primitive
Returns the
Primitive which is the base in this primitive power
expression.
- Parameters:
factory - the ideal factory owning this expression
- Returns:
- the base in this primitive power expansion
-
primitivePowerExponent
Returns the exponent in this primitive power expression, which is a
positive integer represented as an
NumberObject.
- Parameters:
factory - the ideal factory owning this expression
- Returns:
- the exponent of this expression
-
powerInt
Computes an expression equivalent to raising this expression to the
exponent power. In this case the exponent is an
IntegerNumber.
- Specified by:
powerInt in interface Monic
- Specified by:
powerInt in interface Monomial
- Specified by:
powerInt in interface RationalExpression
- Parameters:
factory - the ideal factory responsible for this expression
exponent - the power to which this expression should be raised, must be
positive
- Returns:
- an expression equivalent to raising this expression to the
exponent power