Package edu.jas.ufd
Class SquarefreeFieldCharP<C extends GcdRingElem<C>>
- java.lang.Object
-
- edu.jas.ufd.SquarefreeAbstract<C>
-
- edu.jas.ufd.SquarefreeFieldCharP<C>
-
- All Implemented Interfaces:
Squarefree<C>,java.io.Serializable
- Direct Known Subclasses:
SquarefreeFiniteFieldCharP,SquarefreeInfiniteAlgebraicFieldCharP,SquarefreeInfiniteFieldCharP
public abstract class SquarefreeFieldCharP<C extends GcdRingElem<C>> extends SquarefreeAbstract<C>
Squarefree decomposition for coefficient fields of characteristic p.- Author:
- Heinz Kredel
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AlgebraicNumberRing<C>aCoFacFactory for a algebraic extension of a finite field of characteristic p coefficients.protected RingFactory<C>coFacFactory for finite field of characteristic p coefficients.protected QuotientRing<C>qCoFacFactory for a transcendental extension of a finite field of characteristic p coefficients.-
Fields inherited from class edu.jas.ufd.SquarefreeAbstract
engine
-
-
Constructor Summary
Constructors Constructor Description SquarefreeFieldCharP(RingFactory<C> fac)Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract GenPolynomial<C>baseRootCharacteristic(GenPolynomial<C> P)GenPolynomial char-th root univariate polynomial.java.util.SortedMap<GenPolynomial<C>,java.lang.Long>baseSquarefreeFactors(GenPolynomial<C> A)GenPolynomial polynomial squarefree factorization.GenPolynomial<C>baseSquarefreePart(GenPolynomial<C> P)GenPolynomial polynomial greatest squarefree divisor.booleanisCharRoot(GenPolynomial<C> P, java.util.SortedMap<GenPolynomial<C>,java.lang.Long> F)Polynomial is char-th root.booleanisRecursiveCharRoot(GenPolynomial<GenPolynomial<C>> P, GenPolynomial<GenPolynomial<C>> r)Recursive polynomial is char-th root.booleanisRecursiveCharRoot(GenPolynomial<GenPolynomial<C>> P, java.util.SortedMap<GenPolynomial<GenPolynomial<C>>,java.lang.Long> F)Recursive polynomial is char-th root.abstract GenPolynomial<GenPolynomial<C>>recursiveUnivariateRootCharacteristic(GenPolynomial<GenPolynomial<C>> P)GenPolynomial char-th root univariate polynomial with polynomial coefficients.java.util.SortedMap<GenPolynomial<GenPolynomial<C>>,java.lang.Long>recursiveUnivariateSquarefreeFactors(GenPolynomial<GenPolynomial<C>> P)GenPolynomial recursive univariate polynomial squarefree factorization.GenPolynomial<GenPolynomial<C>>recursiveUnivariateSquarefreePart(GenPolynomial<GenPolynomial<C>> P)GenPolynomial recursive univariate polynomial greatest squarefree divisor.java.util.SortedMap<C,java.lang.Long>squarefreeFactors(C coeff)Coefficient squarefree factorization.java.util.SortedMap<GenPolynomial<C>,java.lang.Long>squarefreeFactors(GenPolynomial<C> P)GenPolynomial squarefree factorization.GenPolynomial<C>squarefreePart(GenPolynomial<C> P)GenPolynomial greatest squarefree divisor.java.lang.StringtoString()Get the String representation.-
Methods inherited from class edu.jas.ufd.SquarefreeAbstract
basePartialFraction, coPrimeSquarefree, coPrimeSquarefree, factorCount, isBasePartialFraction, isCoPrimeSquarefree, isFactorization, isFactorization, isRecursiveFactorization, isRecursiveSquarefree, isSquarefree, isSquarefree, normalizeFactorization, recursiveSquarefreeFactors, recursiveSquarefreePart, squarefreePart
-
-
-
-
Field Detail
-
coFac
protected final RingFactory<C extends GcdRingElem<C>> coFac
Factory for finite field of characteristic p coefficients.
-
aCoFac
protected final AlgebraicNumberRing<C extends GcdRingElem<C>> aCoFac
Factory for a algebraic extension of a finite field of characteristic p coefficients. IfcoFacis an algebraic extension, thenaCoFacis equal tocoFac, elseaCoFacisnull.
-
qCoFac
protected final QuotientRing<C extends GcdRingElem<C>> qCoFac
Factory for a transcendental extension of a finite field of characteristic p coefficients. IfcoFacis an transcendental extension, thenqCoFacis equal tocoFac, elseqCoFacisnull.
-
-
Constructor Detail
-
SquarefreeFieldCharP
public SquarefreeFieldCharP(RingFactory<C> fac)
Constructor.
-
-
Method Detail
-
toString
public java.lang.String toString()
Get the String representation.- Overrides:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
baseSquarefreePart
public GenPolynomial<C> baseSquarefreePart(GenPolynomial<C> P)
GenPolynomial polynomial greatest squarefree divisor.- Specified by:
baseSquarefreePartin classSquarefreeAbstract<C extends GcdRingElem<C>>- Parameters:
P- GenPolynomial.- Returns:
- squarefree(pp(P)).
-
baseSquarefreeFactors
public java.util.SortedMap<GenPolynomial<C>,java.lang.Long> baseSquarefreeFactors(GenPolynomial<C> A)
GenPolynomial polynomial squarefree factorization.- Specified by:
baseSquarefreeFactorsin classSquarefreeAbstract<C extends GcdRingElem<C>>- Parameters:
A- GenPolynomial.- Returns:
- [p_1 -> e_1, ..., p_k -> e_k] with A = prod_{i=1,...,k} p_i^{e_i} and p_i squarefree and gcd(p_i, p_j) = 1, for i != j.
-
recursiveUnivariateSquarefreePart
public GenPolynomial<GenPolynomial<C>> recursiveUnivariateSquarefreePart(GenPolynomial<GenPolynomial<C>> P)
GenPolynomial recursive univariate polynomial greatest squarefree divisor.- Specified by:
recursiveUnivariateSquarefreePartin classSquarefreeAbstract<C extends GcdRingElem<C>>- Parameters:
P- recursive univariate GenPolynomial.- Returns:
- squarefree(pp(P)).
-
recursiveUnivariateSquarefreeFactors
public java.util.SortedMap<GenPolynomial<GenPolynomial<C>>,java.lang.Long> recursiveUnivariateSquarefreeFactors(GenPolynomial<GenPolynomial<C>> P)
GenPolynomial recursive univariate polynomial squarefree factorization.- Specified by:
recursiveUnivariateSquarefreeFactorsin classSquarefreeAbstract<C extends GcdRingElem<C>>- Parameters:
P- recursive univariate GenPolynomial.- Returns:
- [p_1 -> e_1, ..., p_k -> e_k] with P = prod_{i=1,...,k} p_i^{e_i} and p_i squarefree and gcd(p_i, p_j) = 1, for i != j.
-
squarefreePart
public GenPolynomial<C> squarefreePart(GenPolynomial<C> P)
GenPolynomial greatest squarefree divisor.- Specified by:
squarefreePartin interfaceSquarefree<C extends GcdRingElem<C>>- Specified by:
squarefreePartin classSquarefreeAbstract<C extends GcdRingElem<C>>- Parameters:
P- GenPolynomial.- Returns:
- squarefree(pp(P)).
-
squarefreeFactors
public java.util.SortedMap<GenPolynomial<C>,java.lang.Long> squarefreeFactors(GenPolynomial<C> P)
GenPolynomial squarefree factorization.- Specified by:
squarefreeFactorsin interfaceSquarefree<C extends GcdRingElem<C>>- Specified by:
squarefreeFactorsin classSquarefreeAbstract<C extends GcdRingElem<C>>- Parameters:
P- GenPolynomial.- Returns:
- [p_1 -> e_1, ..., p_k -> e_k] with P = prod_{i=1,...,k} p_i^{e_i} and p_i squarefree and gcd(p_i, p_j) = 1, for i != j.
-
squarefreeFactors
public java.util.SortedMap<C,java.lang.Long> squarefreeFactors(C coeff)
Coefficient squarefree factorization.- Specified by:
squarefreeFactorsin classSquarefreeAbstract<C extends GcdRingElem<C>>- Parameters:
coeff- coefficient.- Returns:
- [p_1 -> e_1, ..., p_k -> e_k] with coeff = prod_{i=1,...,k} p_i^{e_i} and p_i squarefree and gcd(p_i, p_j) = 1, for i != j.
-
baseRootCharacteristic
public abstract GenPolynomial<C> baseRootCharacteristic(GenPolynomial<C> P)
GenPolynomial char-th root univariate polynomial.- Parameters:
P- GenPolynomial.- Returns:
- char-th_rootOf(P), or null if no char-th root.
-
recursiveUnivariateRootCharacteristic
public abstract GenPolynomial<GenPolynomial<C>> recursiveUnivariateRootCharacteristic(GenPolynomial<GenPolynomial<C>> P)
GenPolynomial char-th root univariate polynomial with polynomial coefficients.- Parameters:
P- recursive univariate GenPolynomial.- Returns:
- char-th_rootOf(P), or null if P is no char-th root.
-
isCharRoot
public boolean isCharRoot(GenPolynomial<C> P, java.util.SortedMap<GenPolynomial<C>,java.lang.Long> F)
Polynomial is char-th root.- Parameters:
P- polynomial.F- = [p_1 -> e_1, ..., p_k -> e_k].- Returns:
- true if P = prod_{i=1,...,k} p_i**(e_i*p), else false.
-
isRecursiveCharRoot
public boolean isRecursiveCharRoot(GenPolynomial<GenPolynomial<C>> P, java.util.SortedMap<GenPolynomial<GenPolynomial<C>>,java.lang.Long> F)
Recursive polynomial is char-th root.- Parameters:
P- recursive polynomial.F- = [p_1 -> e_1, ..., p_k -> e_k].- Returns:
- true if P = prod_{i=1,...,k} p_i**(e_i*p), else false.
-
isRecursiveCharRoot
public boolean isRecursiveCharRoot(GenPolynomial<GenPolynomial<C>> P, GenPolynomial<GenPolynomial<C>> r)
Recursive polynomial is char-th root.- Parameters:
P- recursive polynomial.r- = recursive polynomial.- Returns:
- true if P = r**p, else false.
-
-