PolynomialDenseTernaryPolynomial, SparseTernaryPolynomialpublic interface TernaryPolynomial extends Polynomial
| Modifier and Type | Method | 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, toIntegerPolynomialIntegerPolynomial mult(IntegerPolynomial poly2)
IntegerPolynomial, taking the indices mod Nmult in interface Polynomialpoly2 - a polynomialint[] getOnes()
int[] getNegOnes()
int size()
void clear()