public class PolynomialGenerator
extends java.lang.Object
| Constructor and Description |
|---|
PolynomialGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static IntegerPolynomial |
generateRandom(int N,
int q)
Creates a random polynomial with
N coefficients
between 0 and q-1. |
public static IntegerPolynomial generateRandom(int N, int q)
N coefficients
between 0 and q-1.N - length of the polynomialq - coefficients will all be below this number