Class FactorComplex<C extends GcdRingElem<C>>
- Type Parameters:
C- coefficient type
- All Implemented Interfaces:
Factorization<Complex<C>>, Serializable
Complex coefficients factorization algorithms. This class implements
factorization methods for polynomials over Complex numbers via the algebraic
number C(i) over rational numbers or over (prime) modular integers. Note:
Decomposition to linear factors is only via absolute factorization since
Complex are not the analytic complex numbers.
- Author:
- Heinz Kredel
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal AlgebraicNumberRing<C> Complex algebraic factory.final FactorAbstract<AlgebraicNumber<C>> Factorization engine for algebraic coefficients.Fields inherited from class FactorAbstract
engine, sengine -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNo argument constructor.FactorComplex(ComplexRing<C> fac) Constructor.FactorComplex(ComplexRing<C> fac, FactorAbstract<AlgebraicNumber<C>> factorAlgeb) Constructor.FactorComplex(RingFactory<Complex<C>> fac) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGenPolynomial base factorization of a squarefree polynomial.GenPolynomial factorization of a squarefree polynomial.Methods inherited from class FactorAbsolute
baseAlgebraicPartialFraction, baseAlgebraicPartialFractionIrreducibleAbsolute, baseFactorsAbsolute, baseFactorsAbsoluteIrreducible, baseFactorsAbsoluteSquarefree, factorsAbsolute, factorsAbsoluteIrreducible, factorsAbsoluteSquarefree, isAbsoluteFactorization, isAbsoluteFactorization, isAbsoluteFactorization, isAbsoluteIrreducible, toStringMethods inherited from class FactorAbstract
baseFactors, baseFactorsRadical, basePrimitivePart, factors, factorsDegree, factorsRadical, factorsRadical, factorsSquarefreeKronecker, factorsSquarefreeOptimize, isFactorization, isFactorization, isIrreducible, isRecursiveFactorization, isReducible, isSquarefree, normalizeFactorization, primitivePart, recursiveFactors, recursiveFactorsSquarefree, squarefreeFactors, squarefreePart
-
Field Details
-
factorAlgeb
Factorization engine for algebraic coefficients. -
afac
Complex algebraic factory.
-
-
Constructor Details
-
FactorComplex
protected FactorComplex()No argument constructor. Note: can't use this constructor. -
FactorComplex
Constructor.- Parameters:
fac- complex number factory.
-
FactorComplex
-
FactorComplex
Constructor.- Parameters:
fac- complex number factory.factorAlgeb- factorization engine for polynomials over algebraic coefficients.
-
-
Method Details
-
baseFactorsSquarefree
GenPolynomial base factorization of a squarefree polynomial.- Specified by:
baseFactorsSquarefreein classFactorAbstract<Complex<C extends GcdRingElem<C>>>- Parameters:
P- squarefree GenPolynomial<AlgebraicNumber<C>>.- Returns:
- [p_1,...,p_k] with P = prod_{i=1, ..., k} p_i.
-
factorsSquarefree
GenPolynomial factorization of a squarefree polynomial.- Specified by:
factorsSquarefreein interfaceFactorization<C extends GcdRingElem<C>>- Overrides:
factorsSquarefreein classFactorAbstract<Complex<C extends GcdRingElem<C>>>- Parameters:
P- squarefree GenPolynomial<AlgebraicNumber<C>>.- Returns:
- [p_1,...,p_k] with P = prod_{i=1, ..., k} p_i.
-