Monomial
edu.jas.poly

Class Monomial<C extends RingElem<C>>



  • public final class Monomial<C extends RingElem<C>>extends Object
    Monomial class. Represents pairs of exponent vectors and coefficients. Adaptor for Map.Entry.
    • Field Detail

      • e

        public final ExpVector e
        Exponent of monomial.
      • c

        public final C extends RingElem<C> c
        Coefficient of monomial.
    • Constructor Detail

      • Monomial

        public Monomial(Map.Entry<ExpVector,C> me)
        Constructor of monomial.
        Parameters:
        me - a MapEntry.
      • Monomial

        public Monomial(ExpVector e,        C c)
        Constructor of monomial.
        Parameters:
        e - exponent.
        c - coefficient.
    • Method Detail

      • exponent

        public ExpVector exponent()
        Getter for exponent.
        Returns:
        exponent.
      • coefficient

        public C coefficient()
        Getter for coefficient.
        Returns:
        coefficient.

SCaVis 1.8 © jWork.org