Changeset 1628b14 in git


Ignore:
Timestamp:
Mar 24, 2011, 10:25:14 AM (12 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
2ab830a563f54a42a41eb941f715cec3422755af
Parents:
a87b34163475a42f2c9e60652769c83ac2b67427
Message:
included outputs for time consumption

git-svn-id: file:///usr/local/Singular/svn/trunk@14044 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/paraplanecurves.lib

    ra87b34 r1628b14  
    759759"
    760760{
     761"#############################################";
     762int totalTime = timer;
    761763  poly dhf = subst(f,var(3),1);
    762764  def Roriginal = basering;
     
    780782  def QF = ring(rl);   // make var(1) transcendental
    781783  list LIntB;
     784int t = timer;
    782785  if(DATA[1] <= 4)  // use normalization algorithm
    783786    {
     
    796799      setring Rdummy;
    797800    }
     801t = timer - t;
     802"### adjointIdealIB, IB-time:", t, "msec";
    798803  int i,j,k,l;
    799804  ideal IB = LIntB[1];
     
    809814  poly d = imap(Rdummy,d);
    810815  M=1/d*M;
     816t = timer;
    811817  list LUM = ludecomp(M);
     818t = timer - t;
     819"### adjointIdealIB, time for 1st ludecomp:", t, "msec";
    812820  list LS;
    813821  matrix dummyvector[sL][1];
     
    818826  list Iij, empty;
    819827  matrix Gij[sL][sL];
     828t = timer;
    820829  for(i = 1; i <= sL; i++)
    821830     {
     
    848857          }
    849858     }
     859t = timer - t;
     860"### adjointIdealIB, time for linear solving:", t, "msec";
     861t = timer;
    850862  LUM = ludecomp(Tr);
     863t = timer - t;
     864"### adjointIdealIB, time for 2nd ludecomp:", t, "msec";
    851865  setring Rred;
    852866  poly d2f = imap(Rdummy,d2f);
     
    860874  setring Roriginal;
    861875  ideal AI = imap(QF,LL);
     876totalTime = timer - totalTime;
     877"### adjointIdealIB, total time:", totalTime, "msec";
    862878  return(AI);
    863879}
     
    866882static proc adjointIdealIQ(poly f, list choices)
    867883{
     884"#############################################";
     885int totalTime = timer;
    868886  poly dhf = subst(f,var(3),1);
    869887  def Roriginal = basering;
     
    894912    }
    895913t = timer - t;
    896 "#############################################";
    897 "### IB-time:", t, "msec";
     914"### adjointIdealIQ, IB-time:", t, "msec";
    898915  int i,j,k,l;
    899916  ideal IB = LIntB[1];
     
    904921  ideal AI = quotient(fd, IBf);
    905922t = timer - t;
    906 "### quot-time:", t, "msec";
     923"### adjointIdealIQ, quot-time:", t, "msec";
    907924//"#### IB:"; IB;
    908925//"#### d:", d;
     
    910927  ideal AI = imap(Rdummy,AI);
    911928//"#### AI:"; AI;
     929totalTime = timer - totalTime;
     930"### adjointIdealIQ, total time:", totalTime, "msec";
    912931  return(AI);
    913932}
Note: See TracChangeset for help on using the changeset viewer.