Changeset ab12db in git for Singular/LIB/grobcov.lib


Ignore:
Timestamp:
Mar 11, 2014, 2:26:52 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
Children:
cfff43fc9d1e2015f61caa9cea82671d931ba0e6
Parents:
fa502097e0f6e99adaf0a797bd0957c1c79369ba
Message:
chg: format, types
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/grobcov.lib

    rfa50209 rab12db  
    196196  def RR=basering;
    197197  def @R=basering;  // must be of the form K[a][x], a=parameters, x=variables
    198   def Rx=ringlist(RR);
     198  list Rx=ringlist(RR);
    199199  def @P=ring(Rx[1]);
    200200  list Lx;
     
    210210  exportto(Top,@RP);     // global ring K[x,a] with product order
    211211  setring(RR);
    212 };
     212}
    213213example
    214214{ "EXAMPLE:"; echo = 2;
     
    253253  if(te){kill @R; kill @RP; kill @P;}
    254254  return(Jc);
    255 };
     255}
    256256
    257257proc memberpos(f,J)
     
    705705    if(te==0){kill @R; kill @RP; kill @P;}
    706706    return(f2)
    707 };
     707}
    708708example
    709709{ "EXAMPLE:"; echo = 2;
     
    752752    }
    753753  }
    754 };
     754}
    755755
    756756// delfromideal: deletes the i-th polynomial from the ideal F
     
    857857  if(te==1){setglobalrings();}
    858858  return(G);
    859 };
     859}
    860860
    861861// eliminates repeated elements form an ideal or matrix or module or intmat or bigintmat
     
    24992499  def LP=imap(RR,LPr);
    25002500  int j; poly p;
    2501   def F=ideal(1);
     2501  ideal F=ideal(1);
    25022502  poly f;
    25032503  poly fn;
     
    25652565  setring(@R);
    25662566  def ff=imap(RR,f);
    2567   def l=factorize(ff,0);
     2567  list l=factorize(ff,0);
    25682568  poly f1=1;
    25692569  for(i=2;i<=size(l[1]);i++)
     
    25742574  def f2=imap(@R,f1);
    25752575  return(f2);
    2576 };
     2576}
    25772577
    25782578//Auxiliary routine
Note: See TracChangeset for help on using the changeset viewer.