GaussInt
GImcmbine
Chinese remaindering
Calling Sequence
Parameters
Description
Examples
GImcmbine(a, ra, b, rb)
a, ra, b, rb
-
Gaussian integers
The function GImcmbine computes a Gaussian integer x such that x=ramoda and x=rbmodb. If no Gaussian integer x exists, it returns FAIL.
withGaussInt:
a≔4+14I:b≔10+35I:ra≔7−11I:rb≔1−32I:
GImcmbinea,ra,b,rb
11+3I
ra≔7−11I:rb≔1−23I:a≔−16+8I:b≔−24+12I:
FAIL
See Also
GaussInt[GIchrem]
NumberTheory[ChineseRemainder]
Download Help Document