public interface TernaryPolynomial extends Polynomial
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int[] |
getNegOnes() |
int[] |
getOnes() |
IntegerPolynomial |
mult(IntegerPolynomial poly2)
Multiplies the polynomial by an
IntegerPolynomial , taking the indices mod N |
int |
size()
Returns the maximum number of coefficients the polynomial can have
|
mult, mult, toIntegerPolynomial
IntegerPolynomial mult(IntegerPolynomial poly2)
IntegerPolynomial
, taking the indices mod Nmult
in interface Polynomial
poly2
- a polynomialint[] getOnes()
int[] getNegOnes()
int size()
void clear()