public final class IrreduciblePolynomials extends Object
| Modifier and Type | Method and Description |
|---|---|
static <Poly extends IUnivariatePolynomial<Poly>> |
finiteFieldIrreducibleBenOr(Poly poly)
Tests whether
poly is irreducible over the finite field |
static <Poly extends IUnivariatePolynomial<Poly>> |
finiteFieldIrreducibleQ(Poly poly)
Tests whether
poly is irreducible over the finite field |
static <Poly extends IUnivariatePolynomial<Poly>> |
finiteFieldIrreducibleViaModularComposition(Poly poly)
Tests whether
poly is irreducible over the finite field |
static <Poly extends IUnivariatePolynomial<Poly>> |
irreducibleQ(Poly poly)
Tests whether
poly is irreducible |
static UnivariatePolynomialZp64 |
randomIrreduciblePolynomial(long modulus,
int degree,
org.apache.commons.math3.random.RandomGenerator rnd)
Generated random irreducible Zp polynomial of degree
degree |
static <Poly extends IUnivariatePolynomial<Poly>> |
randomIrreduciblePolynomial(Poly factory,
int degree,
org.apache.commons.math3.random.RandomGenerator rnd)
Generated random irreducible polynomial of degree
degree |
static <E> UnivariatePolynomial<E> |
randomIrreduciblePolynomial(Ring<E> ring,
int degree,
org.apache.commons.math3.random.RandomGenerator rnd)
Generated random irreducible polynomial over specified ring of degree
degree |
static UnivariatePolynomial<BigInteger> |
randomIrreduciblePolynomialOverZ(int degree,
org.apache.commons.math3.random.RandomGenerator rnd)
Generated random irreducible polynomial over Z
|
public static <Poly extends IUnivariatePolynomial<Poly>> boolean irreducibleQ(Poly poly)
poly is irreduciblepoly - the polynomialpoly is an irreducible polynomialpublic static <Poly extends IUnivariatePolynomial<Poly>> boolean finiteFieldIrreducibleQ(Poly poly)
poly is irreducible over the finite fieldpoly - the polynomial over finite fieldpoly is an irreducible polynomialpublic static <Poly extends IUnivariatePolynomial<Poly>> boolean finiteFieldIrreducibleViaModularComposition(Poly poly)
poly is irreducible over the finite fieldpoly - the polynomial over finite fieldpoly is an irreducible polynomialpublic static <Poly extends IUnivariatePolynomial<Poly>> boolean finiteFieldIrreducibleBenOr(Poly poly)
poly is irreducible over the finite fieldpoly - the polynomial over finite fieldpoly is an irreducible polynomialpublic static UnivariatePolynomialZp64 randomIrreduciblePolynomial(long modulus, int degree, org.apache.commons.math3.random.RandomGenerator rnd)
degreemodulus - the modulusdegree - the degreernd - random sourcepublic static <E> UnivariatePolynomial<E> randomIrreduciblePolynomial(Ring<E> ring, int degree, org.apache.commons.math3.random.RandomGenerator rnd)
degreering - coefficient ringdegree - the degreernd - random sourcepublic static UnivariatePolynomial<BigInteger> randomIrreduciblePolynomialOverZ(int degree, org.apache.commons.math3.random.RandomGenerator rnd)
degree - the degreernd - random sourcepublic static <Poly extends IUnivariatePolynomial<Poly>> Poly randomIrreduciblePolynomial(Poly factory, int degree, org.apache.commons.math3.random.RandomGenerator rnd)
degreefactory - type markerdegree - the degreernd - random sourceCopyright © 2022. All rights reserved.