| chinrem(intvec(2,-3),intvec(7,11));
==> 30
chinrem(list(2,-3),list(7,11));
==> 30
ring r=0,(x,y),dp;
ideal i1=5x+2y,x2+3y2+xy;
ideal i2=2x-3y,2x2+4y2+5xy;
chinrem(list(i1,i2),intvec(7,11));
==> _[1]=-9x+30y
==> _[2]=-20x2-6xy-18y2
chinrem(list(i1,i2),list(bigint(7),bigint(11)));
==> _[1]=-9x+30y
==> _[2]=-20x2-6xy-18y2
chinrem(list(list(i1,i2),list(i1,i2)),list(bigint(7),bigint(11)));
==> [1]:
==> _[1]=-9x+30y
==> _[2]=-20x2-6xy-18y2
==> [2]:
==> _[1]=-9x+30y
==> _[2]=-20x2-6xy-18y2
|