Package edu.jas.application
Class FactorRealReal<C extends GcdRingElem<C> & Rational>
- Type Parameters:
C
- coefficient type
- All Implemented Interfaces:
Factorization<RealAlgebraicNumber<C>>
,Serializable
public class FactorRealReal<C extends GcdRingElem<C> & Rational>
extends FactorAbstract<RealAlgebraicNumber<C>>
Real algebraic number coefficients factorization algorithms. This class
implements factorization methods for polynomials over bi-variate real
algebraic numbers from package
edu.jas.application.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final boolean
final FactorAbstract
<RealAlgebraicNumber<C>> Factorization engine for base coefficients.private static final org.apache.logging.log4j.Logger
Fields inherited from class edu.jas.ufd.FactorAbstract
engine, sengine
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
No argument constructor.FactorRealReal
(RealAlgebraicRing<C> fac) Constructor.FactorRealReal
(RealAlgebraicRing<C> fac, FactorAbstract<RealAlgebraicNumber<C>> factorAlgebraic) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGenPolynomial base factorization of a squarefree polynomial.Methods inherited from class edu.jas.ufd.FactorAbstract
baseFactors, baseFactorsRadical, basePrimitivePart, factors, factorsDegree, factorsRadical, factorsRadical, factorsSquarefree, factorsSquarefreeKronecker, factorsSquarefreeOptimize, isFactorization, isFactorization, isIrreducible, isRecursiveFactorization, isReducible, isSquarefree, normalizeFactorization, primitivePart, recursiveFactors, recursiveFactorsSquarefree, squarefreeFactors, squarefreePart, toString
-
Field Details
-
logger
private static final org.apache.logging.log4j.Logger logger -
debug
private static final boolean debug -
factorAlgebraic
public final FactorAbstract<RealAlgebraicNumber<C extends GcdRingElem<C> & Rational>> factorAlgebraicFactorization engine for base coefficients.
-
-
Constructor Details
-
FactorRealReal
protected FactorRealReal()No argument constructor. Note: can't use this constructor. -
FactorRealReal
Constructor.- Parameters:
fac
- algebraic number factory.
-
FactorRealReal
public FactorRealReal(RealAlgebraicRing<C> fac, FactorAbstract<RealAlgebraicNumber<C>> factorAlgebraic) Constructor.- Parameters:
fac
- algebraic number factory.factorAlgebraic
- factorization engine for polynomials over base coefficients.
-
-
Method Details
-
baseFactorsSquarefree
public List<GenPolynomial<RealAlgebraicNumber<C>>> baseFactorsSquarefree(GenPolynomial<RealAlgebraicNumber<C>> P) GenPolynomial base factorization of a squarefree polynomial.- Specified by:
baseFactorsSquarefree
in classFactorAbstract<RealAlgebraicNumber<C extends GcdRingElem<C> & Rational>>
- Parameters:
P
- squarefree GenPolynomial<RealAlgebraicNumber<C>>.- Returns:
- [p_1,...,p_k] with P = prod_{i=1, ..., k} p_i.
-