Changeset 4b79661 in git


Ignore:
Timestamp:
May 16, 2019, 3:04:48 PM (4 years ago)
Author:
Sachin <sachinkm308@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
d90fef85ca2c62d55b0f856b13bb352f199e2883
Parents:
38f64f390d4436be348da6ef47e2af0b9b28e73b
git-author:
Sachin <sachinkm308@gmail.com>2019-05-16 15:04:48+02:00
git-committer:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2019-07-01 14:09:41+02:00
Message:
Removed Execute under comment
Location:
Singular/LIB
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/freegb.lib

    r38f64f3 r4b79661  
    34723472}
    34733473
    3474 // obsolete
    3475 static proc lshift(module M, int s, string varing, def lpring)
    3476 {
    3477   // FINALLY IMPLEMENTED AS A PART OT THE C CODE
    3478   // shifts a polynomial from the ring R to s positions
    3479   // M lives in varing, the result in lpring
    3480   // to be run from varing
    3481   int i, j, k, sm, sv;
    3482   vector v;
    3483   setring lpring;
    3484   poly @@p;
    3485   ideal I;
    3486   execute("setring "+varing);
    3487   sm = ncols(M);
    3488   for (i=1; i<=s; i++)
    3489   {
    3490     // modules, e.g. free polynomials
    3491     for (j=1; j<=sm; j++)
    3492     {
    3493       //vectors, e.g. free monomials
    3494       v  = M[j];
    3495       sv = size(v);
    3496       sp = "@@p = @@p + ";
    3497       for (k=2; k<=sv; k++)
    3498       {
    3499         sp = sp + string(v[k])+"("+string(k-1+s)+")*";
    3500       }
    3501       sp = sp + string(v[1])+";"; // coef;
    3502       setring lpring;
    3503       //      execute("setring "+lpring);
    3504       execute(sp);
    3505       execute("setring "+varing);
    3506     }
    3507     setring lpring;
    3508     //    execute("setring "+lpring);
    3509     I = I,@@p;
    3510     @@p = 0;
    3511   }
    3512   setring lpring;
    3513   //execute("setring "+lpring);
    3514   export(I);
    3515   //  setring varing;
    3516   execute("setring "+varing);
    3517 }
     3474
    35183475
    35193476static proc skip0(vector v)
  • Singular/LIB/normal.lib

    r38f64f3 r4b79661  
    27982798      if(w>=1){"Newton-Polygon is degenerated";"";}
    27992799/* need to re-consider the degree bound (de):
     2800      execute
    28002801      // the following can certainly be made more efficient when replacing
    28012802      // 'hnexpansion' (used only for computing number of branches) by
Note: See TracChangeset for help on using the changeset viewer.