Interface Monic

All Superinterfaces:
Monomial, NumericExpression, RationalExpression, SymbolicExpression, SymbolicObject
All Known Subinterfaces:
Polynomial, Primitive, PrimitivePower

public interface Monic extends Monomial
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.
  • Method Details

    • monicFactors

      PrimitivePower[] monicFactors(IdealFactory factory)
      Returns the factors of this monic as a map from Primitive to PrimitivePower. 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:
      true iff this monic is trivial
    • powerInt

      Monic powerInt(IdealFactory factory, IntegerNumber exponent)
      Description copied from interface: RationalExpression
      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 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