|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
C
- coefficient typepublic interface Squarefree<C extends GcdRingElem<C>>
Squarefree decomposition interface.
SquarefreeFactory.getImplementation(edu.jas.arith.ModIntegerRing)
Squarefree
interface use the SquarefreeFactory
. It will select an
appropriate implementation based on the types of polynomial
coefficients C. To obtain an implementation use
getImplementation()
, it returns an object of a class
which extends the SquarefreeAbstract
class which
implements the Squarefree
interface.
Squarefree<CT> engine; engine = SquarefreeFactory.<CT> getImplementation(cofac); c = engine.squarefreeFactors(a);For example, if the coefficient type is BigInteger, the usage looks like
BigInteger cofac = new BigInteger(); Squarefree<BigInteger> engine; engine = SquarefreeFactory.getImplementation(cofac); Sm = engine.sqaurefreeFactors(poly);
Method Summary | |
---|---|
java.util.List<GenPolynomial<C>> |
coPrimeSquarefree(GenPolynomial<C> a,
java.util.List<GenPolynomial<C>> P)
GenPolynomial squarefree and co-prime list. |
java.util.List<GenPolynomial<C>> |
coPrimeSquarefree(java.util.List<GenPolynomial<C>> A)
GenPolynomial squarefree and co-prime list. |
boolean |
isCoPrimeSquarefree(java.util.List<GenPolynomial<C>> B)
Test if list of GenPolynomials is squarefree and co-prime. |
boolean |
isFactorization(GenPolynomial<C> P,
java.util.List<GenPolynomial<C>> F)
GenPolynomial is (squarefree) factorization. |
boolean |
isFactorization(GenPolynomial<C> P,
java.util.SortedMap<GenPolynomial<C>,java.lang.Long> F)
GenPolynomial is (squarefree) factorization. |
boolean |
isSquarefree(GenPolynomial<C> P)
GenPolynomial test if is squarefree. |
boolean |
isSquarefree(java.util.List<GenPolynomial<C>> L)
GenPolynomial list test if squarefree. |
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. |
Method Detail |
---|
GenPolynomial<C> squarefreePart(GenPolynomial<C> P)
P
- GenPolynomial.
boolean isSquarefree(GenPolynomial<C> P)
P
- GenPolynomial.
boolean isSquarefree(java.util.List<GenPolynomial<C>> L)
L
- list of GenPolynomial.
java.util.SortedMap<GenPolynomial<C>,java.lang.Long> squarefreeFactors(GenPolynomial<C> P)
P
- GenPolynomial.
boolean isFactorization(GenPolynomial<C> P, java.util.List<GenPolynomial<C>> F)
P
- GenPolynomial.F
- = [p_1,...,p_k].
boolean isFactorization(GenPolynomial<C> P, java.util.SortedMap<GenPolynomial<C>,java.lang.Long> F)
P
- GenPolynomial.F
- = [p_1 -> e_1, ..., p_k -> e_k].
java.util.List<GenPolynomial<C>> coPrimeSquarefree(java.util.List<GenPolynomial<C>> A)
A
- list of GenPolynomials.
java.util.List<GenPolynomial<C>> coPrimeSquarefree(GenPolynomial<C> a, java.util.List<GenPolynomial<C>> P)
a
- polynomial.P
- squarefree co-prime list of GenPolynomials.
boolean isCoPrimeSquarefree(java.util.List<GenPolynomial<C>> B)
B
- list of GenPolynomials.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |