|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Polynomial
| Method Summary | |
|---|---|
BigIntPolynomial |
mult(BigIntPolynomial poly2)
Multiplies the polynomial by a BigIntPolynomial, taking the indices mod N. |
IntegerPolynomial |
mult(IntegerPolynomial poly2)
Multiplies the polynomial by an IntegerPolynomial,
taking the indices mod N. |
IntegerPolynomial |
mult(IntegerPolynomial poly2,
int modulus)
Multiplies the polynomial by an IntegerPolynomial,
taking the coefficient values mod modulus and the indices mod N. |
IntegerPolynomial |
toIntegerPolynomial()
Returns a polynomial that is equal to this polynomial (in the sense that mult(IntegerPolynomial, int)
returns equal IntegerPolynomials). |
| Method Detail |
|---|
IntegerPolynomial mult(IntegerPolynomial poly2)
IntegerPolynomial,
taking the indices mod N.
poly2 - a polynomial
IntegerPolynomial mult(IntegerPolynomial poly2,
int modulus)
IntegerPolynomial,
taking the coefficient values mod modulus and the indices mod N.
poly2 - a polynomialmodulus - a modulus to apply
IntegerPolynomial toIntegerPolynomial()
mult(IntegerPolynomial, int)
returns equal IntegerPolynomials). The new polynomial is guaranteed to be independent of the original.
IntegerPolynomial.BigIntPolynomial mult(BigIntPolynomial poly2)
BigIntPolynomial, taking the indices mod N. Does not
change this polynomial but returns the result as a new polynomial.
poly2 - the polynomial to multiply by
|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||