Changeset a719bcf in git


Ignore:
Timestamp:
Dec 8, 2023, 11:34:29 AM (5 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
d9c3e43bdc70a74ca301b89b22a1880c78d6a167
Parents:
d1b01e9d51ade4b46b745d3bada5c5f3696be3a8
Message:
opt: ring construction
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/primdec.lib

    rd1b01e9 ra719bcf  
    20682068  def P0 = basering;
    20692069  list Pl=ring_list(P0);
    2070   intvec dp_w;
    2071   for(j=nvars(P0);j>0;j--) {dp_w[j]=1;}
    2072   Pl[3]=list(list("dp",dp_w),list("C",0));
     2070  Pl[3]=list(list("dp",1:nvars(P0)),list("C",0));
    20732071  def P=ring(Pl);
    20742072  setring P;
     
    63916389  def P0 = basering;
    63926390  list Pl=ring_list(P0);
    6393   intvec dp_w;
    6394   for(j=nvars(P0);j>0;j--) {dp_w[j]=1;}
    6395   Pl[3]=list(list("dp",dp_w),list("C",0));
     6391  Pl[3]=list(list("dp",1:nvars(P0)),list("C",0));
    63966392  def @P=ring(Pl); // Ring with same variables and DP ordering in all variables
    63976393  setring @P;
Note: See TracChangeset for help on using the changeset viewer.