Home Online Manual
Top
Back: powerN
Forward: Jacobi
FastBack:
FastForward:
Up: crypto_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

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