Macaulay2 » Documentation
Packages » Parametrization :: chineseRemainder
next | previous | forward | backward | up | index | toc

chineseRemainder -- Solve simultaneous congruences.

Synopsis

Description

Solves the simultaneous congruences x=L#i mod M#i.

i1 : chineseRemainder({1,2,3},{3,5,7})

o1 = 52

Caveat

This should be extended slightly to non prime integers.

Ways to use chineseRemainder :

For the programmer

The object chineseRemainder is a method function.