| ring rsq=(0,s,t,u),(x,y),lp;
ideal i=s+tx+uy,x2+y2-10,x2+xy+2y2-16;
module m=mpresmat(i,0);
print(m);
==> -16,0, -10,0, (s),0, 0, 0, 0, 0,
==> 0, -16,0, -10,(u),(s),0, 0, 0, 0,
==> 2, 0, 1, 0, 0, (u),0, 0, 0, 0,
==> 0, 2, 0, 1, 0, 0, 0, 0, 0, 0,
==> 0, 0, 0, 0, (t),0, -10,(s),0, -16,
==> 1, 0, 0, 0, 0, (t),0, (u),(s),0,
==> 0, 1, 0, 0, 0, 0, 1, 0, (u),2,
==> 1, 0, 1, 0, 0, 0, 0, (t),0, 0,
==> 0, 1, 0, 1, 0, 0, 0, 0, (t),1,
==> 0, 0, 0, 0, 0, 0, 1, 0, 0, 1
|