| LIB "arr.lib";
ring R = 0,(x,y,z),dp;
// centered and central
arr A = ideal(x,y,z);
arrCentered(A);
==> 1
arrCentral(A);
==> 1
// centered but not central (center: (-1,-1/2, 1))
arr B = ideal(x+1,2y+1,-z+1);
arrCentered(B);
==> 1
arrCentral(B);
==> 0
|