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

Class ExpVectorPair

  • All Implemented Interfaces:
    java.io.Serializable


    public class ExpVectorPair
    extends java.lang.Object
    implements java.io.Serializable
    ExpVectorPair implements pairs of exponent vectors for S-polynomials. Objects of this class are immutable.
    See Also:
    Serialized Form
    • Constructor Detail

      • ExpVectorPair

        public ExpVectorPair(ExpVector e,
                             ExpVector f)
        Constructors for ExpVectorPair.
        Parameters:
        e - first part.
        f - second part.
    • Method Detail

      • getFirst

        public ExpVector getFirst()
        Returns:
        first part.
      • getSecond

        public ExpVector getSecond()
        Returns:
        second part.
      • totalDeg

        public long totalDeg()
        Returns:
        total degree of both parts.
      • toString

        public java.lang.String toString()
        toString.
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object B)
        equals.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        B - other.
        Returns:
        true, if this == b, else false.
      • equals

        public boolean equals(ExpVectorPair b)
        equals.
        Parameters:
        b - other.
        Returns:
        true, if this == b, else false.
      • hashCode

        public int hashCode()
        hash code.
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • isMultiple

        public boolean isMultiple(ExpVectorPair p)
        isMultiple.
        Parameters:
        p - other.
        Returns:
        true, if this is a multiple of b, else false.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.