|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GreatestCommonDivisor<C extends GcdRingElem<C>>
Greatest common divisor algorithm interface.
GCDFactory.getImplementation( edu.jas.structure.RingFactory f)GreatestCommonDivisor<CT> engine = GCDFactory.<CT>getImplementation( cofac ); c = engine.gcd(a,b);For example, if the coefficient type is BigInteger, the usage looks like
BigInteger cofac = new BigInteger(); GreatestCommonDivisor<BigInteger> engine = GCDFactory.<BigInteger>getImplementation( cofac ); c = engine.gcd(a,b);
| Method Summary | |
|---|---|
GenPolynomial<C> |
content(GenPolynomial<C> P)
GenPolynomial content. |
GenPolynomial<C> |
gcd(GenPolynomial<C> P,
GenPolynomial<C> S)
GenPolynomial greatest comon divisor. |
GenPolynomial<C> |
lcm(GenPolynomial<C> P,
GenPolynomial<C> S)
GenPolynomial least comon multiple. |
GenPolynomial<C> |
primitivePart(GenPolynomial<C> P)
GenPolynomial primitive part. |
GenPolynomial<C> |
resultant(GenPolynomial<C> P,
GenPolynomial<C> S)
GenPolynomial resultant. |
java.util.Map<java.lang.Integer,GenPolynomial<C>> |
squarefreeFactors(GenPolynomial<C> P)
GenPolynomial squarefree factorization. |
GenPolynomial<C> |
squarefreePart(GenPolynomial<C> P)
GenPolynomial greatest squarefree divisor. |
| Method Detail |
|---|
GenPolynomial<C> content(GenPolynomial<C> P)
P - GenPolynomial.
GenPolynomial<C> primitivePart(GenPolynomial<C> P)
P - GenPolynomial.
GenPolynomial<C> gcd(GenPolynomial<C> P,
GenPolynomial<C> S)
P - GenPolynomial.S - GenPolynomial.
GenPolynomial<C> lcm(GenPolynomial<C> P,
GenPolynomial<C> S)
P - GenPolynomial.S - GenPolynomial.
GenPolynomial<C> resultant(GenPolynomial<C> P,
GenPolynomial<C> S)
P - GenPolynomial.S - GenPolynomial.
GenPolynomial<C> squarefreePart(GenPolynomial<C> P)
P - GenPolynomial.
java.util.Map<java.lang.Integer,GenPolynomial<C>> squarefreeFactors(GenPolynomial<C> P)
P - GenPolynomial.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||