D.12.2.7 chineseRem
Procedure from library
crypto.lib
(see
crypto_lib
).
Usage:
chineseRem(T,L);
Return:
x such that x = T[i] mod L[i]
Note:
chinese remainder theorem
Example:
LIB "crypto.lib"; chineseRem(list(24,15,7),list(2,3,5)); ==> 12
User manual for
Singular
version 4.3.1, 2022, generated by
texi2html
.