Documentation of 'edu.jas.poly.Monomial' Java class
Monomial
edu.jas.poly

Class Monomial<C extends RingElem<C>>



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

      Fields 
      Modifier and Type Field and Description
      C c
      Coefficient of monomial.
      ExpVector e
      Exponent of monomial.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Monomial(ExpVector e, C c)
      Constructor of monomial.
      Monomial(java.util.Map.Entry<ExpVector,C> me)
      Constructor of monomial.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      C coefficient()
      Getter for coefficient.
      ExpVector exponent()
      Getter for exponent.
      java.lang.String toString()
      String representation of Monomial.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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(java.util.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.
      • toString

        public java.lang.String toString()
        String representation of Monomial.
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.