Changeset 8d8fef in git for Singular/LIB/primdecint.lib


Ignore:
Timestamp:
Jul 29, 2019, 11:36:09 PM (5 years ago)
Author:
Murray Heymann <heymann.murray@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
feed60bef09898f675e0f8605ed0ac0eaa8bed5a
Parents:
da1ec3de158a4f05384b9a83be86fc4c1942ec5fc1b9ababa50e8059dd847da0957f50aea901e6a8
Message:
Merge branch 'machine_learning' of github.com:MHeymann/Sources into machine_learning
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/primdecint.lib

    rda1ec3 r8d8fef  
    3232
    3333LIB "primdec.lib";
     34LIB "ring.lib";
    3435
    3536////////////////////////////////////////////////////////////////////////////////
     
    11111112         //=== if u in x is an independent set of L then we compute a Groebner
    11121113         //=== Basis in Z[u][x-u]
    1113          execute("ring S=integer,("+L[1][1]+"),lp;");
     1114         ring S = create_ring(list("integer"), "("+L[1][1]+")", "lp");
    11141115         ideal I=imap(R,I);
    11151116         I=stdZ(I);
     
    12411242   //=== K[i]/f; does not work in rings with integer! This should be replaced
    12421243   //=== later
    1243    execute("ring Rhelp=0,("+varstr(R)+"),dp;");
     1244   ring Rhelp = create_ring(0, "("+varstr(R)+")", "dp");
    12441245   ideal K=imap(R,K);
    12451246   poly f=imap(R,f);
     
    12821283   if (not attrib(I,"isSB") ) { print ("// ** I is no standard basis"); }
    12831284   def R=basering;
    1284    execute("ring Rhelp=0,("+varstr(R)+"),dp;");
     1285   ring Rhelp = create_ring(0, "("+varstr(R)+")", "dp");
    12851286   ideal I=imap(R,I);
    12861287   poly f=imap(R,f);
     
    14341435         //=== if u in x is an independent set of L then we compute a Groebner
    14351436         //=== Basis in Z[u][x-u]
    1436          execute("ring S=integer,("+L[1][1]+"),lp;");
     1437         ring S = create_ring(list("integer"), "("+L[1][1]+")", "lp");
    14371438         module I=imap(R,I);
    14381439         I=std(I);
Note: See TracChangeset for help on using the changeset viewer.