|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jas.ufd.GreatestCommonDivisorAbstract<BigInteger>
edu.jas.ufd.GreatestCommonDivisorModular<MOD>
public class GreatestCommonDivisorModular<MOD extends GcdRingElem<MOD> & Modular>
Greatest common divisor algorithms with modular computation and chinese remainder algorithm.
Field Summary | |
---|---|
protected GreatestCommonDivisorAbstract<BigInteger> |
iufd
|
protected GreatestCommonDivisorAbstract<MOD> |
mufd
|
Constructor Summary | |
---|---|
GreatestCommonDivisorModular()
Constructor to set recursive algorithm. |
|
GreatestCommonDivisorModular(boolean simple)
Constructor to set recursive algorithm. |
Method Summary | |
---|---|
GenPolynomial<BigInteger> |
baseGcd(GenPolynomial<BigInteger> P,
GenPolynomial<BigInteger> S)
Univariate GenPolynomial greatest comon divisor. |
GenPolynomial<BigInteger> |
gcd(GenPolynomial<BigInteger> P,
GenPolynomial<BigInteger> S)
GenPolynomial greatest comon divisor, modular algorithm. |
GenPolynomial<GenPolynomial<BigInteger>> |
recursiveUnivariateGcd(GenPolynomial<GenPolynomial<BigInteger>> P,
GenPolynomial<GenPolynomial<BigInteger>> S)
Univariate GenPolynomial recursive greatest comon divisor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final GreatestCommonDivisorAbstract<MOD extends GcdRingElem<MOD> & Modular> mufd
protected final GreatestCommonDivisorAbstract<BigInteger> iufd
Constructor Detail |
---|
public GreatestCommonDivisorModular()
public GreatestCommonDivisorModular(boolean simple)
simple
- , true if the simple PRS should be used.Method Detail |
---|
public GenPolynomial<BigInteger> baseGcd(GenPolynomial<BigInteger> P, GenPolynomial<BigInteger> S)
baseGcd
in class GreatestCommonDivisorAbstract<BigInteger>
P
- univariate GenPolynomial.S
- univariate GenPolynomial.
public GenPolynomial<GenPolynomial<BigInteger>> recursiveUnivariateGcd(GenPolynomial<GenPolynomial<BigInteger>> P, GenPolynomial<GenPolynomial<BigInteger>> S)
recursiveUnivariateGcd
in class GreatestCommonDivisorAbstract<BigInteger>
P
- univariate recursive GenPolynomial.S
- univariate recursive GenPolynomial.
public GenPolynomial<BigInteger> gcd(GenPolynomial<BigInteger> P, GenPolynomial<BigInteger> S)
gcd
in interface GreatestCommonDivisor<BigInteger>
gcd
in class GreatestCommonDivisorAbstract<BigInteger>
P
- GenPolynomial.S
- GenPolynomial.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |