WordMonomial
edu.jas.poly

Class WordMonomial<C extends RingElem<C>>



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

      • e

        public final Word e
        Word of monomial.
      • c

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

      • WordMonomial

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

        public WordMonomial(Word e,            C c)
        Constructor of word monomial.
        Parameters:
        e - word.
        c - coefficient.
    • Method Detail

      • word

        public Word word()
        Getter for word.
        Returns:
        word.
      • coefficient

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

SCaVis 1.8 © jWork.org