Interface TernaryPolynomial

    • Method Detail

      • mult

        IntegerPolynomial mult​(IntegerPolynomial poly2)
        Multiplies the polynomial by an IntegerPolynomial, taking the indices mod N
        Specified by:
        mult in interface Polynomial
        Parameters:
        poly2 - a polynomial
        Returns:
        the product of the two polynomials
      • getOnes

        int[] getOnes()
      • getNegOnes

        int[] getNegOnes()
      • size

        int size()
        Returns the maximum number of coefficients the polynomial can have
      • clear

        void clear()