f1*f2+f3, where
f1,f2,f3 are very sparsely populated ternary polynomials.
| Modifier and Type | Field and Description |
|---|---|
| private SparseTernaryPolynomial | |
| private SparseTernaryPolynomial | |
| private SparseTernaryPolynomial |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public static ProductFormPolynomial | |
| public static ProductFormPolynomial | |
| public static ProductFormPolynomial | |
| public int | |
| public IntegerPolynomial | mult(IntegerPolynomial
a polynomial b)Implements org. IntegerPolynomial,
taking the indices mod N.
|
| public BigIntPolynomial | mult(BigIntPolynomial
the polynomial to multiply by b)Implements org. BigIntPolynomial, taking the indices mod N.
|
| public IntegerPolynomial | mult(IntegerPolynomial
a polynomial poly2, int a modulus to apply modulus)Implements org. IntegerPolynomial,
taking the coefficient values mod modulus and the indices mod N.
|
| public byte[] | |
| public IntegerPolynomial | toIntegerPolynomial()
Implements org. mult(IntegerPolynomial, int)
returns equal IntegerPolynomials).
|
| f1 | back to summary |
|---|---|
| private SparseTernaryPolynomial f1 | |
| f2 | back to summary |
|---|---|
| private SparseTernaryPolynomial f2 | |
| f3 | back to summary |
|---|---|
| private SparseTernaryPolynomial f3 | |
| ProductFormPolynomial | back to summary |
|---|---|
| public ProductFormPolynomial(SparseTernaryPolynomial f1, SparseTernaryPolynomial f2, SparseTernaryPolynomial f3) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| fromBinary | back to summary |
|---|---|
| public static ProductFormPolynomial fromBinary(byte[] data, int N, int df1, int df2, int df3Ones, int df3NegOnes) throws IOException | |
| fromBinary | back to summary |
|---|---|
| public static ProductFormPolynomial fromBinary(InputStream is, int N, int df1, int df2, int df3Ones, int df3NegOnes) throws IOException | |
| generateRandom | back to summary |
|---|---|
| public static ProductFormPolynomial generateRandom(int N, int df1, int df2, int df3Ones, int df3NegOnes, SecureRandom random) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| mult | back to summary |
|---|---|
| public IntegerPolynomial mult(IntegerPolynomial b) Implements org. Doc from org. Multiplies the polynomial by an
| |
| mult | back to summary |
|---|---|
| public BigIntPolynomial mult(BigIntPolynomial b) Implements org. Doc from org. Multiplies the polynomial by a
| |
| mult | back to summary |
|---|---|
| public IntegerPolynomial mult(IntegerPolynomial poly2, int modulus) Implements org. Doc from org. Multiplies the polynomial by an
| |
| toBinary | back to summary |
|---|---|
| public byte[] toBinary() | |
| toIntegerPolynomial | back to summary |
|---|---|
| public IntegerPolynomial toIntegerPolynomial() Implements org. Doc from org. Returns a polynomial that is equal to this polynomial (in the sense that
| |