Changeset 40df4d in git


Ignore:
Timestamp:
Dec 17, 2013, 1:44:17 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
035192fb77c255d934b21cd0a32eb12359bda176
Parents:
a1e807a999ad81c88502c684ee93531e7840ea82
Message:
fix: new grobcov.lib (a.montes)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/grobcov.lib

    ra1e807a r40df4d  
    113113                   Can be used without calling presiouly setglobalrings(),
    114114
    115 locus(G);     Special routine for determining the locus of points
     115locus(G):     Special routine for determining the locus of points
    116116                   of  objects. Given a parametric ideal J with
    117117                   parameters (a_1,..a_m) and variables (x_1,..,xn),
     
    131131                   Can be used without calling presiouly setglobalrings(),
    132132
    133 locusdg(G);  Is a special routine for computing the locus in dinamical geometry.
     133locusdg(G):  Is a special routine for computing the locus in dinamical geometry.
    134134                    It detects automatically a possible point that is to be avoided by the mover,
    135135                    whose coordinates must be the last two coordinates in the definition of the ring.
     
    139139                    Can be used without calling presiouly setglobalrings(),
    140140
    141 locusto(L);  Transforms the output of locus to a string that
     141locusto(L):  Transforms the output of locus to a string that
    142142                  can be reed from different computational systems.
    143143                  Can be used without calling presiouly setglobalrings(),
    144144
    145 addcons(L); Given a disjoint set of locally closed subsets in P-representation,
     145addcons(L): Given a disjoint set of locally closed subsets in P-representation,
    146146                  it returns the canonical P-representation of the constructible set
    147147                  formed by the union of them.
     
    12221222proc PtoCrep(list L)
    12231223{
     1224  int te=0;
    12241225  def RR=basering;
     1226  if(defined(@P)){te=1;}
     1227  else{te=0; setglobalrings();}
    12251228  setring(@P);
    12261229  def Lp=imap(RR,L);
     
    12401243  def La=list(ida,idb);
    12411244  setring(RR);
    1242   return(imap(@P,La));
     1245  def LL=imap(@P,La);
     1246  if(te==0){kill @P; kill @R; kill @RP;}
     1247  return(LL);
    12431248}
    12441249
     
    38953900  int i; int j; int k; int l;
    38963901  intvec v; intvec v1; intvec v0;
    3897   ideal J; list K;
     3902  ideal J; list K; list L1;
     3903  for(i=1;i<=size(L);i++)
     3904  {
     3905    if(equalideals(L[i][1][1],ideal(1))==0)
     3906    {L1[size(L1)+1]=L[i];}
     3907  }
     3908  L=L1;
    38983909  for(i=1;i<=size(L);i++)
    38993910  {
Note: See TracChangeset for help on using the changeset viewer.