- All Superinterfaces:
AbelianGroupFactory<C>, ElemFactory<C>, Iterable<C>, MonoidFactory<C>, RingFactory<C>, Serializable
- All Known Implementing Classes:
ModIntegerRing, ModIntRing, ModLongRing
public interface ModularRingFactory<C extends RingElem<C> & Modular>
extends RingFactory<C>, Iterable<C>
Modular ring factory interface. Defines Chinese remainder method and get
modul method.
-
Method Summary
Modifier and TypeMethodDescriptionchineseRemainder(C c, C ci, C a) Chinese remainder algorithm.Return the BigInteger modul for the factory.Methods inherited from interface AbelianGroupFactory
getZEROMethods inherited from interface ElemFactory
copy, fromInteger, fromInteger, generators, isFinite, parse, parse, random, random, toScript, valueOfMethods inherited from interface Iterable
forEach, iterator, spliteratorMethods inherited from interface MonoidFactory
getONE, isAssociative, isCommutativeMethods inherited from interface RingFactory
characteristic, isField
-
Method Details
-
getIntegerModul
BigInteger getIntegerModul()Return the BigInteger modul for the factory.- Returns:
- a BigInteger of this.modul.
-
chineseRemainder
-