Singular Manual: gradiator

| #### D.15.13.47 gradiator Procedure from library `multigrading.lib` (see multigrading_lib). Purpose: coarsens the grading of the basering until the polynom or ideal h becomes homogeneous. Example:
    LIB "multigrading.lib";
    ring r = 0,(x,y,z),dp;
    intmat g[2][3] = 1,0,1,0,1,1;
    intmat l[2][1] = 3,0;
    setBaseMultigrading(g,l);
    getLattice();
    ==> 3,0
    ideal i = -y5+x4,
    y6+xz,
    x2y;
    gradiator(i);
    ==> 1
    getLattice();
    ==> 3,4,2,
    ==> 0,-5,-5
    isHomogeneous(i);
    ==> 1

User manual for Singular version 4.4.1, 2025, generated by texi2html.