Module aoclib::numbers

source ·

Modules

  • The Chinese Remainder Theorem is used to efficiently calculate a number n which has several constraints of its modulus. Each constraint specifies the modulus and the remainder, such that: