[−][src]Function accumulator::util::solve_linear_congruence
pub fn solve_linear_congruence(
a: &Integer,
b: &Integer,
m: &Integer
) -> Option<(Integer, Integer)>
Solves a linear congruence of form ax = b mod m
for the set of solutions x
. Solution sets
are characterized by integers mu
and v
s.t. x = mu + vn
and n
is any integer.