Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Solving diophantine equations, i.e. equations on integers.
val solve_congruences : (int * int * int) Seq.t -> int * int
solve_congruences @@ List.to_seq [ (a1, b1, m1) ; … ; (ak, bk, mk) ]
, provided that the mi are non-zero, solves the following linear congruence system of unknown x:
TODO: complexity?