ExpVectorPair
edu.jas.poly

Class ExpVectorPair

  • All Implemented Interfaces:
    Serializable


    public class ExpVectorPairextends Objectimplements 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.
      • equals

        public boolean equals(Object B)
        equals.
        Overrides:
        equals in class 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.
      • isMultiple

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

SCaVis 2.1 © jWork.ORG