Changeset 4922ad in git


Ignore:
Timestamp:
Apr 18, 2020, 12:34:58 PM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c1f5618ec42c9721a89b7a05ff44c3fb66988abc
Parents:
933ed85f7a4b64fb6b04964c04a137915354e36b
Message:
fix: cno comments within commnts
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/dmodapp.lib

    r933ed8 r4922ad  
    316316  engine(I,3); // uses modular slimgb with exactness check
    317317}
    318 
    319 /*
    320 proc engine(def I, int i)
    321 "USAGE:  engine(I,i);  I  ideal/module/matrix, i an int
    322 RETURN:  the same type as I
    323 PURPOSE: compute the Groebner basis of I with the algorithm, chosen via i
    324 NOTE:    By default and if i=0, slimgb is used; otherwise std does the job.
    325 EXAMPLE: example engine; shows examples
    326 "
    327 {
    328   /* std - slimgb mix */
    329   def J;
    330   //  ideal J;
    331   if (i==0)
    332   {
    333     J = slimgb(I);
    334   }
    335   else
    336   {
    337     // without options -> strange! (ringlist?)
    338     intvec v = option(get);
    339     option(redSB);
    340     option(redTail);
    341     J = std(I);
    342     option(set, v);
    343   }
    344   return(J);
    345 }
    346 example
    347 {
    348   "EXAMPLE:"; echo = 2;
    349   ring r = 0,(x,y),Dp;
    350   ideal I  = y*(x3-y2),x*(x3-y2);
    351   engine(I,0); // uses slimgb
    352   engine(I,1); // uses std
    353 }
    354 */
    355318
    356319proc poly2list (poly f)
Note: See TracChangeset for help on using the changeset viewer.