|
Bouncy Castle Cryptography Library 1.49 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TernaryPolynomial
A polynomial whose coefficients are all equal to -1, 0, or 1
Method Summary | |
---|---|
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 |
Methods inherited from interface org.bouncycastle.pqc.math.ntru.polynomial.Polynomial |
---|
mult, mult, toIntegerPolynomial |
Method Detail |
---|
IntegerPolynomial mult(IntegerPolynomial poly2)
IntegerPolynomial
, taking the indices mod N
mult
in interface Polynomial
poly2
- a polynomial
int[] getOnes()
int[] getNegOnes()
int size()
void clear()
|
Bouncy Castle Cryptography Library 1.49 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |