Singular Manual: initialIdeal

| #### D.13.6.16 initialIdeal Procedure from library `tropical.lib` (see tropical_lib). Usage: initialIdeal(i,w); i ideal, w intvec Assume: i is an ideal in Q[x_1,...,x_n] and w=(w_1,...,w_n) Return: ideal, the initialIdeal of i w.r.t. w Note: the initialIdeal consists of the terms with MAXIMAL weighted order w.r.t. w Example:
    LIB "tropical.lib";
    ring r=0,(x,y),dp;
    poly f=x3+y2-xy+x-1;
    intvec w=2,3;
    initialIdeal(f,w);
    ==> _[1]=x3+y2

User manual for Singular version 4-2-1p3, 2021, generated by texi2html.