edu.jas.ufd
Class FactorRealAlgebraic<C extends GcdRingElem<C> & Rational>

java.lang.Object
  extended by edu.jas.ufd.FactorAbstract<RealAlgebraicNumber<C>>
      extended by edu.jas.ufd.FactorRealAlgebraic<C>
Type Parameters:
C - coefficient type
All Implemented Interfaces:
Factorization<RealAlgebraicNumber<C>>, java.io.Serializable

public class FactorRealAlgebraic<C extends GcdRingElem<C> & Rational>
extends FactorAbstract<RealAlgebraicNumber<C>>

Real algebraic number coefficients factorization algorithms. This class implements factorization methods for polynomials over real algebraic numbers from package

edu.jas.root
.

Author:
Heinz Kredel
See Also:
Serialized Form

Field Summary
 FactorAbstract<AlgebraicNumber<C>> factorAlgebraic
          Factorization engine for base coefficients.
 
Fields inherited from class edu.jas.ufd.FactorAbstract
engine, sengine
 
Constructor Summary
protected FactorRealAlgebraic()
          No argument constructor.
  FactorRealAlgebraic(RealAlgebraicRing<C> fac)
          Constructor.
 
Method Summary
 java.util.List<GenPolynomial<RealAlgebraicNumber<C>>> baseFactorsSquarefree(GenPolynomial<RealAlgebraicNumber<C>> P)
          GenPolynomial base factorization of a squarefree polynomial.
 
Methods inherited from class edu.jas.ufd.FactorAbstract
baseFactors, baseFactorsRadical, basePrimitivePart, factors, factorsDegree, factorsRadical, factorsRadical, factorsSquarefree, isFactorization, isFactorization, isIrreducible, isRecursiveFactorization, isReducible, isSquarefree, primitivePart, recursiveFactors, recursiveFactorsSquarefree, squarefreeFactors, squarefreePart, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

factorAlgebraic

public final FactorAbstract<AlgebraicNumber<C extends GcdRingElem<C> & Rational>> factorAlgebraic
Factorization engine for base coefficients.

Constructor Detail

FactorRealAlgebraic

protected FactorRealAlgebraic()
No argument constructor. Note: can't use this constructor.


FactorRealAlgebraic

public FactorRealAlgebraic(RealAlgebraicRing<C> fac)
Constructor.

Parameters:
fac - algebraic number factory.
Method Detail

baseFactorsSquarefree

public java.util.List<GenPolynomial<RealAlgebraicNumber<C>>> baseFactorsSquarefree(GenPolynomial<RealAlgebraicNumber<C>> P)
GenPolynomial base factorization of a squarefree polynomial.

Specified by:
baseFactorsSquarefree in class FactorAbstract<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.