Changeset 4922ad in git
- Timestamp:
- Apr 18, 2020, 12:34:58 PM (4 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- c1f5618ec42c9721a89b7a05ff44c3fb66988abc
- Parents:
- 933ed85f7a4b64fb6b04964c04a137915354e36b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/dmodapp.lib
r933ed8 r4922ad 316 316 engine(I,3); // uses modular slimgb with exactness check 317 317 } 318 319 /*320 proc engine(def I, int i)321 "USAGE: engine(I,i); I ideal/module/matrix, i an int322 RETURN: the same type as I323 PURPOSE: compute the Groebner basis of I with the algorithm, chosen via i324 NOTE: By default and if i=0, slimgb is used; otherwise std does the job.325 EXAMPLE: example engine; shows examples326 "327 {328 /* std - slimgb mix */329 def J;330 // ideal J;331 if (i==0)332 {333 J = slimgb(I);334 }335 else336 {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 example347 {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 slimgb352 engine(I,1); // uses std353 }354 */355 318 356 319 proc poly2list (poly f)
Note: See TracChangeset
for help on using the changeset viewer.