Changeset 7eaf72 in git for Singular/LIB/schreyer.lib
- Timestamp:
- Nov 22, 2012, 8:33:22 PM (11 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 4ca3e3c15a08dab1cfe6bed017b0254dc13734b3
- Parents:
- da9d522d025bd8d8edf9686d84441705b53f89bd
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-22 20:33:22+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-05-07 04:41:48+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/schreyer.lib
rda9d52 r7eaf72 2420 2420 ",HYBRIDNF:" +string(attrib(SSinit,"HYBRIDNF")); 2421 2421 2422 int @PROFILE = attrib(SSinit, "PROFILE"); 2423 if(@PROFILE){ string @prof = "SSres_" + @save_res_desc + "_" + name + ".prof"; } 2422 2424 2423 2425 StartAddResTest( … … 2427 2429 2428 2430 option(redSB); option(redTail); 2431 if(@PROFILE){ProfilerStart(@prof);} 2429 2432 timer=0;rtimer=0;def R=SSres(I,0);@m=rtimer; 2433 if(@PROFILE){ProfilerStop();} 2430 2434 setring R;module M;list @l=list();@l[size(RES)-1]=list();r=nrows(RES[1]);for(i=2;i<=size(RES);i++){M=RES[i];rr=nrows(M);if((r>0)&&(size(M)>0)&&(r<rr)){M=transpose(M);M=M[(r+1)..ncols(M)];M=transpose(M);RES[i]=M;};r=rr;@l[i-1] = M;};resolution RR=@l;RR=minres(RR);def S=betti(RR,1);@t=rtimer; 2431 2435 SCheck(R); … … 2556 2560 attrib(SSinit, "SYZCHECK", (DEBUG > 0)); 2557 2561 attrib(SSinit, "KERCHECK", 1); 2562 attrib(SSinit, "PROFILE", 0); 2558 2563 2559 2564 ring r; r; ideal M = maxideal(1); … … 2602 2607 attrib(SSinit, "SYZCHECK", (DEBUG > 0)); 2603 2608 attrib(SSinit, "KERCHECK", 0); 2609 attrib(SSinit, "PROFILE", 1); 2604 2610 2605 2611 // option(prot); … … 2793 2799 attrib(SSinit, "SYZCHECK", (DEBUG > 0)); 2794 2800 attrib(SSinit, "KERCHECK", 0); 2801 attrib(SSinit, "PROFILE", 1); 2795 2802 2796 2803 // option(prot);
Note: See TracChangeset
for help on using the changeset viewer.