public class PolyUfdUtil extends java.lang.Object
Constructor and Description |
---|
PolyUfdUtil() |
Modifier and Type | Method and Description |
---|---|
static <C extends GcdRingElem<C>> |
algebraicNumberField(RingFactory<C> cfac,
int degree)
Construct an algebraic number field of degree d.
|
static <C extends GcdRingElem<C>> |
backSubstituteKronecker(GenPolynomialRing<C> fac,
GenPolynomial<C> A,
long d)
Kronecker back substitution.
|
static <C extends GcdRingElem<C>> |
backSubstituteKronecker(GenPolynomialRing<C> fac,
java.util.List<GenPolynomial<C>> A,
long d)
Kronecker back substitution.
|
static <C extends GcdRingElem<C>> |
ensureFieldProperty(AlgebraicNumberRing<C> afac)
Ensure that the field property is determined.
|
static <C extends RingElem<C>> |
fromIntegerCoefficients(GenPolynomialRing<GenPolynomial<C>> fac,
GenPolynomial<GenPolynomial<BigInteger>> A)
From BigInteger coefficients.
|
static <C extends RingElem<C>> |
fromIntegerCoefficients(GenPolynomialRing<GenPolynomial<C>> fac,
java.util.List<GenPolynomial<GenPolynomial<BigInteger>>> L)
From BigInteger coefficients.
|
static GenPolynomial<GenPolynomial<BigInteger>> |
integerFromRationalCoefficients(GenPolynomialRing<GenPolynomial<BigInteger>> fac,
GenPolynomial<GenPolynomial<BigRational>> A)
BigInteger from BigRational coefficients.
|
static java.util.List<GenPolynomial<GenPolynomial<BigInteger>>> |
integerFromRationalCoefficients(GenPolynomialRing<GenPolynomial<BigInteger>> fac,
java.util.List<GenPolynomial<GenPolynomial<BigRational>>> L)
BigInteger from BigRational coefficients.
|
static <C extends GcdRingElem<C>> |
integralFromQuotientCoefficients(GenPolynomialRing<GenPolynomial<C>> fac,
java.util.Collection<GenPolynomial<Quotient<C>>> L)
Integral polynomial from rational function coefficients.
|
static <C extends GcdRingElem<C>> |
integralFromQuotientCoefficients(GenPolynomialRing<GenPolynomial<C>> fac,
GenPolynomial<Quotient<C>> A)
Integral polynomial from rational function coefficients.
|
static <C extends GcdRingElem<C>> |
introduceLowerVariable(GenPolynomialRing<GenPolynomial<C>> rfac,
GenPolynomial<C> A)
Introduce lower variable.
|
static <C extends GcdRingElem<C>> |
norm(GenPolynomial<AlgebraicNumber<C>> A)
Norm of a polynomial with AlgebraicNumber coefficients.
|
static <C extends GcdRingElem<C>> |
norm(GenPolynomial<AlgebraicNumber<C>> A,
long k)
Norm of a polynomial with AlgebraicNumber coefficients.
|
static <C extends GcdRingElem<C>> |
quotientFromIntegralCoefficients(GenPolynomialRing<Quotient<C>> fac,
java.util.Collection<GenPolynomial<GenPolynomial<C>>> L)
Rational function from integral polynomial coefficients.
|
static <C extends GcdRingElem<C>> |
quotientFromIntegralCoefficients(GenPolynomialRing<Quotient<C>> fac,
GenPolynomial<GenPolynomial<C>> A)
Rational function from integral polynomial coefficients.
|
static <C extends GcdRingElem<C>> |
randomIrreduciblePolynomial(RingFactory<C> cfac,
int degree)
Construct a random irreducible univariate polynomial of degree d.
|
static <C extends GcdRingElem<C>> |
substituteConvertToAlgebraicCoefficients(GenPolynomialRing<AlgebraicNumber<C>> pfac,
GenPolynomial<C> A,
long k)
Convert to AlgebraicNumber coefficients.
|
static <C extends GcdRingElem<C>> |
substituteFromAlgebraicCoefficients(GenPolynomialRing<GenPolynomial<C>> rfac,
GenPolynomial<AlgebraicNumber<C>> A,
long k)
From AlgebraicNumber coefficients.
|
static <C extends GcdRingElem<C>> |
substituteKronecker(GenPolynomial<C> A)
Kronecker substitution.
|
static <C extends GcdRingElem<C>> |
substituteKronecker(GenPolynomial<C> A,
long d)
Kronecker substitution.
|
static <C extends GcdRingElem<C>> |
substituteKronecker(java.util.List<GenPolynomial<C>> A,
int d)
Kronecker substitution.
|
public PolyUfdUtil()
public static <C extends GcdRingElem<C>> GenPolynomial<GenPolynomial<C>> integralFromQuotientCoefficients(GenPolynomialRing<GenPolynomial<C>> fac, GenPolynomial<Quotient<C>> A)
fac
- result polynomial factory.A
- polynomial with rational function coefficients to be converted.public static <C extends GcdRingElem<C>> java.util.List<GenPolynomial<GenPolynomial<C>>> integralFromQuotientCoefficients(GenPolynomialRing<GenPolynomial<C>> fac, java.util.Collection<GenPolynomial<Quotient<C>>> L)
fac
- result polynomial factory.L
- list of polynomial with rational function coefficients to be
converted.public static <C extends GcdRingElem<C>> GenPolynomial<Quotient<C>> quotientFromIntegralCoefficients(GenPolynomialRing<Quotient<C>> fac, GenPolynomial<GenPolynomial<C>> A)
fac
- result polynomial factory.A
- polynomial with integral polynomial coefficients to be
converted.public static <C extends GcdRingElem<C>> java.util.List<GenPolynomial<Quotient<C>>> quotientFromIntegralCoefficients(GenPolynomialRing<Quotient<C>> fac, java.util.Collection<GenPolynomial<GenPolynomial<C>>> L)
fac
- result polynomial factory.L
- list of polynomials with integral polynomial coefficients to be
converted.public static <C extends RingElem<C>> GenPolynomial<GenPolynomial<C>> fromIntegerCoefficients(GenPolynomialRing<GenPolynomial<C>> fac, GenPolynomial<GenPolynomial<BigInteger>> A)
fac
- result polynomial factory.A
- polynomial with GenPolynomial<BigInteger> coefficients to
be converted.public static <C extends RingElem<C>> java.util.List<GenPolynomial<GenPolynomial<C>>> fromIntegerCoefficients(GenPolynomialRing<GenPolynomial<C>> fac, java.util.List<GenPolynomial<GenPolynomial<BigInteger>>> L)
fac
- result polynomial factory.L
- polynomial list with GenPolynomial<BigInteger>
coefficients to be converted.public static GenPolynomial<GenPolynomial<BigInteger>> integerFromRationalCoefficients(GenPolynomialRing<GenPolynomial<BigInteger>> fac, GenPolynomial<GenPolynomial<BigRational>> A)
fac
- result polynomial factory.A
- polynomial with GenPolynomial<BigRational> coefficients to
be converted.public static java.util.List<GenPolynomial<GenPolynomial<BigInteger>>> integerFromRationalCoefficients(GenPolynomialRing<GenPolynomial<BigInteger>> fac, java.util.List<GenPolynomial<GenPolynomial<BigRational>>> L)
fac
- result polynomial factory.L
- polynomial list with GenPolynomial<BigRational>
coefficients to be converted.public static <C extends GcdRingElem<C>> GenPolynomial<GenPolynomial<C>> introduceLowerVariable(GenPolynomialRing<GenPolynomial<C>> rfac, GenPolynomial<C> A)
rfac
- result polynomial factory.A
- polynomial to be extended.public static <C extends GcdRingElem<C>> GenPolynomial<GenPolynomial<C>> substituteFromAlgebraicCoefficients(GenPolynomialRing<GenPolynomial<C>> rfac, GenPolynomial<AlgebraicNumber<C>> A, long k)
rfac
- result polynomial factory.A
- polynomial with AlgebraicNumber coefficients to be converted.k
- for (y-k x) substitution.public static <C extends GcdRingElem<C>> GenPolynomial<AlgebraicNumber<C>> substituteConvertToAlgebraicCoefficients(GenPolynomialRing<AlgebraicNumber<C>> pfac, GenPolynomial<C> A, long k)
pfac
- result polynomial factory.A
- polynomial with GenPolynomial<BigInteger> coefficients to
be converted.k
- for (y-k x) substitution.public static <C extends GcdRingElem<C>> GenPolynomial<C> norm(GenPolynomial<AlgebraicNumber<C>> A, long k)
A
- uni or multivariate polynomial from
GenPolynomial<AlgebraicNumber<C>>.k
- for (y - k x) substitution.public static <C extends GcdRingElem<C>> GenPolynomial<C> norm(GenPolynomial<AlgebraicNumber<C>> A)
A
- polynomial from GenPolynomial<AlgebraicNumber<C>>.public static <C extends GcdRingElem<C>> void ensureFieldProperty(AlgebraicNumberRing<C> afac)
afac
- algebraic number ring.public static <C extends GcdRingElem<C>> GenPolynomial<C> randomIrreduciblePolynomial(RingFactory<C> cfac, int degree)
cfac
- coefficient ring.degree
- of random polynomial.public static <C extends GcdRingElem<C>> AlgebraicNumberRing<C> algebraicNumberField(RingFactory<C> cfac, int degree)
cfac
- coefficient ring.degree
- of random polynomial.public static <C extends GcdRingElem<C>> GenPolynomial<C> substituteKronecker(GenPolynomial<C> A)
A
- polynomial to be converted.public static <C extends GcdRingElem<C>> GenPolynomial<C> substituteKronecker(GenPolynomial<C> A, long d)
A
- polynomial to be converted.public static <C extends GcdRingElem<C>> java.util.List<GenPolynomial<C>> substituteKronecker(java.util.List<GenPolynomial<C>> A, int d)
A
- list of polynomials to be converted.public static <C extends GcdRingElem<C>> GenPolynomial<C> backSubstituteKronecker(GenPolynomialRing<C> fac, GenPolynomial<C> A, long d)
A
- polynomial to be converted.fac
- result polynomial factory.public static <C extends GcdRingElem<C>> java.util.List<GenPolynomial<C>> backSubstituteKronecker(GenPolynomialRing<C> fac, java.util.List<GenPolynomial<C>> A, long d)
A
- list of polynomials to be converted.fac
- result polynomial factory.