public interface ModularRingFactory<C extends RingElem<C> & Modular> extends RingFactory<C>
Modifier and Type | Method and Description |
---|---|
C |
chineseRemainder(C c,
C ci,
C a)
Chinese remainder algorithm.
|
BigInteger |
getIntegerModul()
Return the BigInteger modul for the factory.
|
characteristic, isField
getZERO
getONE, isAssociative, isCommutative
copy, fromInteger, fromInteger, generators, isFinite, parse, parse, random, random, toScript
BigInteger getIntegerModul()
C chineseRemainder(C c, C ci, C a)
c
- modular.ci
- inverse of c.modul in ring of a.a
- other ModLong.