java.lang.Object
dk.jonaslindstrom.ruffini.common.algorithms.ChineseRemainderTheorem<E>
- Type Parameters:
E
- Element type.
- All Implemented Interfaces:
java.util.function.BiFunction<Vector<E>,Vector<E>,E>
public class ChineseRemainderTheorem<E>
extends Object
implements java.util.function.BiFunction<Vector<E>,Vector<E>,E>
Compute the solution to a system of congruences using the Chinese Remainder Theorem.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
Method Details
-
apply
- Specified by:
apply
in interface java.util.function.BiFunction<Vector<E>,Vector<E>,E>