Changeset c0f614 in git


Ignore:
Timestamp:
Feb 16, 2024, 1:57:37 PM (3 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4bd32dfef92ec9f5ed8dceee82d14318ae147107')
Children:
be27df299776fa013655436294fca9fa5ec69a32
Parents:
ed6cce7a3936eb40676c2649aaa5fc9749dc2fea
Message:
cohomo.cc p5
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/dyn_modules/cohomo/cohomo.cc

    red6cce rc0f614  
    4646
    4747/***************************print(only for debugging)***********************************************/
     48#if 0
    4849//print vector of integers.
    4950static void listprint(std::vector<int> vec)
     
    6061  }
    6162}
    62 
     63#endif
     64
     65#if 0
    6366//print vector of vectors of integers.
    6467static void listsprint(std::vector<std::vector<int> > posMat)
     
    7780  }
    7881}
    79 
    80 
     82#endif
     83
     84#if 0
    8185//print ideal.
    8286static void id_print(ideal h)
     
    8993  }
    9094}
    91 
     95#endif
     96
     97#if 0
    9298//only for T^2,
    9399//print vector of polynomials.
     
    105111  }
    106112}
    107 
     113#endif
     114
     115#if 0
    108116//print vector of vectors of polynomials.
    109117static void lpsprint(std::vector<std::vector<poly> > pvs)
     
    122130  }
    123131}
     132#endif
    124133
    125134/*************operations for vectors (regard vectors as sets)*********/
     
    16411650  for(i=0; i <num; i++)
    16421651  {
    1643     tt[i] = (char*)omalloc(10); //if required enlarge it later
    1644     snprintf (tt[i],10, "t(%d)", i+1);
     1652    tt[i] = (char*)omalloc(16);
     1653    snprintf (tt[i],16, "t(%d)", i+1);
    16451654  }
    16461655  ring R=rDefault(cf,num,tt,ringorder_lp);
     
    16501659}
    16511660
     1661#if 0
    16521662//returns the trivial case of T^1
    16531663//b must only contain one variable
     
    16651675  return base;
    16661676}
     1677#endif
    16671678
    16681679/***************************only for T^2*************************************/
     
    17031714//return the graded pieces of cohomology T^1 according to a,b
    17041715//original method (only for debugging)
     1716#if 0
    17051717static void gradedpiece1(ideal h,poly a,poly b)
    17061718{
     
    17611773  }
    17621774}
    1763 
     1775#endif
     1776
     1777#if 0
    17641778//Returns true if b can divide p*q
    17651779static bool condition1for2(std::vector<int > pv,std::vector<int > qv,std::vector<int > bv)
     
    17741788  return false;
    17751789}
    1776 
     1790#endif
     1791
     1792#if 0
    17771793//Returns true if support(p) union support(q) union support(s) union support(a) minus support(b) is face
    17781794static bool condition2for2(std::vector<std::vector<int> > hvs, std::vector<int> pv,  std::vector<int> qv, std::vector<int> sv, std::vector<int> av,  std::vector<int> bv)
     
    17881804  return (false);
    17891805}
    1790 
     1806#endif
     1807
     1808#if 0
    17911809static bool condition3for2(std::vector<std::vector<int> > hvs, std::vector<int> pv,  std::vector<int> qv,  std::vector<int> av,  std::vector<int> bv)
    17921810{
     
    18051823  return(false);
    18061824}
     1825#endif
    18071826
    18081827/****************solve the equations got from T^2*********************/
     
    19381957/**************************************************************************/
    19391958
     1959#if 0
    19401960//subspace of T2(find all the possible values of alpha)
    19411961static std::vector<int> findalpha(std::vector<std::vector<int> > mv, std::vector<int> bv)
     
    19531973  return alset;
    19541974}
     1975#endif
    19551976
    19561977static std::vector<int> subspacet1(int num, std::vector<std::vector<int> > ntvs)
     
    19802001}
    19812002
     2003#if 0
    19822004//subspace for T^2(mab method)
    19832005static std::vector<std::vector<int> > subspacet(std::vector<std::vector<int> > mv, std::vector<int> bv,std::vector<std::vector<int> > ntvs)
     
    19942016  return subases;
    19952017}
     2018#endif
    19962019
    19972020static std::vector<std::vector<int> > mabtv(std::vector<std::vector<int> > hvs,  std::vector<std::vector<int> > Mv,   std::vector<int> av,  std::vector<int> bv)
     
    20162039}
    20172040
     2041#if 0
    20182042//fix the problem of the number of the new variables
    20192043//original method for T^2(only for debugging)
     
    20992123  }
    21002124}
     2125#endif
    21012126
    21022127/**********************************************************************/
     
    22512276 //vtm(solve);
    22522277  intvec *m;
    2253   int i,j, a=vecs.size();
     2278  unsigned a=vecs.size();
    22542279  if(a==0)
    22552280  {
     
    22602285    int b=vecs[0].size();
    22612286    m=new intvec(a,b,0);
    2262     for(i=1;i<=a;i++)
    2263     {
    2264       for(j=1;j<=b;j++)
    2265       {
    2266         IMATELEM(*m,i,j)=vecs[i-1][j-1];
     2287    for(unsigned i=1;i<=a;i++)
     2288    {
     2289      for(unsigned j=1;j<=b;j++)
     2290      {
     2291        IMATELEM((*m),i,j)=vecs[i-1][j-1];
    22672292      }
    22682293    }
     
    23272352static intvec * gradedpiece1n(ideal h,poly a,poly b)
    23282353{
    2329   int i,j,co,n;
     2354  int co;
    23302355  std::vector<std::vector<int> > hvs=supports(h),mv=Mabv(h,a,b),sbv,nv,good,solve;
    23312356  std::vector<int> av=support1(a), bv=support1(b), bad, tnv, index;
     
    23352360  M=idMaken(mv);
    23362361  index = gensindex(M, idsrRing(h));
    2337   n=nv.size();
     2362  unsigned n=nv.size();
    23382363  ring r=currRing;
    23392364  if(n > 0)
    23402365  {
    23412366    tnv=tnab(hvs,nv,sbv);
    2342     for(i=0;i<tnv.size();i++)
     2367    for(unsigned i=0;i<tnv.size();i++)
    23432368    {
    23442369      co=tnv[i];
    23452370      bad.push_back(co+1);
    23462371    }
    2347     for(i=0;i<n;i++)
    2348     {
    2349       for(j=i+1;j<n;j++)
     2372    for(unsigned i=0;i<n;i++)
     2373    {
     2374      for(unsigned j=i+1;j<n;j++)
    23502375      {
    23512376        if(nabtconditionv(hvs,nv[i],nv[j]))
     
    23912416}
    23922417
     2418#if 0
    23932419//for debugging
    23942420static void T1(ideal h)
     
    24212447  Print("Finished %d!\n",mm);
    24222448}
     2449#endif
    24232450
    24242451static bool condition2for2nv(std::vector<std::vector<int> > hvs, std::vector<int> pv, std::vector<int> qv,  std::vector<int> fv)
     
    25732600        vec.clear();
    25742601      }
    2575       for(int t1=t0+1;t1<ntvs.size();t1++)
    2576       {
    2577         for(int t2=t1+1;t2<ntvs.size();t2++)
     2602      for(unsigned t1=t0+1;t1<ntvs.size();t1++)
     2603      {
     2604        for(unsigned t2=t1+1;t2<ntvs.size();t2++)
    25782605        {
    25792606          if(ntvs[t0][0]==ntvs[t1][0]&&ntvs[t1][1]==ntvs[t2][1]&&ntvs[t0][1]==ntvs[t2][0])
     
    26182645}
    26192646
     2647#if 0
    26202648//for debugging
    26212649static void T2(ideal h)
     
    26582686  Print("There are %d graded pieces in total.\n",gp);
    26592687}
     2688#endif
    26602689
    26612690/*****************************for links*******************************************/
     
    26732702static std::vector<std::vector<int> > value1l(std::vector<std::vector<int> > mvs, std::vector<std::vector<int> > lks, std::vector<std::vector<int> > vecs,std::vector<int> av, std::vector<int> bv)
    26742703{
    2675   int j;
    26762704  std::vector<int> pv;
    26772705  std::vector<int> base;
     
    26822710    {
    26832711      pv=phimagel(mvs[i], av, bv);
    2684       for(j=0;j<lks.size();j++)
     2712      for(unsigned j=0;j<lks.size();j++)
    26852713      {
    26862714        if(vEvl(pv,lks[j]))
     
    27182746static std::vector<std::vector<int> > gpl(ideal h,poly a,poly b)
    27192747{
    2720   int i,j,co;
     2748  int co;
    27212749  std::vector<std::vector<int> > hvs=supports(h),sbv,nv,mv,good,solve;
    27222750  std::vector<int> av=support1(a), bv=support1(b),index,bad,tnv;
     
    27272755  ideal M=idMaken(mv);
    27282756  index = gensindex(M, idsrRing(h));
    2729   int n=nv.size();
     2757  unsigned n=nv.size();
    27302758  ring r=currRing;
    27312759  t_begin=clock();
     
    27332761  {
    27342762    tnv=tnab(hvs,nv,sbv);
    2735     for(i=0;i<tnv.size();i++)
     2763    for(unsigned i=0;i<tnv.size();i++)
    27362764    {
    27372765      co=tnv[i];
    27382766      bad.push_back(co+1);
    27392767    }
    2740     for(i=0;i<n;i++)
    2741     {
    2742       for(j=i+1;j<n;j++)
     2768    for(unsigned i=0;i<n;i++)
     2769    {
     2770      for(unsigned j=i+1;j<n;j++)
    27432771      {
    27442772        if(nabtconditionv(hvs,nv[i],nv[j]))
     
    28072835{
    28082836  std::vector<int> pv,qv,base;
    2809   int row,col,j;
     2837  int row,col;
    28102838  std::vector<std::vector<int> > bases;
    28112839  if(vecs.size()==0)
     
    28252853      else
    28262854      {
    2827         for(j=0;j<lkts.size();j++)
     2855        for(unsigned j=0;j<lkts.size();j++)
    28282856        {
    28292857          row=lkts[j][0];
     
    28862914          vec.clear();
    28872915        }
    2888         for(int t1=t0+1;t1<ntvs.size();t1++)
     2916        for(unsigned t1=t0+1;t1<ntvs.size();t1++)
    28892917        {
    2890           for(int t2=t1+1;t2<ntvs.size();t2++)
     2918          for(unsigned t2=t1+1;t2<ntvs.size();t2++)
    28912919          {
    28922920            if(ntvs[t0][0]==ntvs[t1][0]&&ntvs[t1][1]==ntvs[t2][1]&&ntvs[t0][1]==ntvs[t2][0])
     
    34873515static std::vector<std::vector<int> > star(poly a, ideal h)
    34883516{
    3489   int i;
    34903517  std::vector<std::vector<int> > st,X=supports(h);
    34913518  std::vector<int> U,av=support1(a);
    3492   for(i=0;i<X.size();i++)
     3519  for(unsigned i=0;i<X.size();i++)
    34933520  {
    34943521    U=vecUnion(av,X[i]);
     
    35153542  std::vector<std::vector<int> > vecs_minus, vecs_plus, lk=links(a,h), hvs=supports(h), sub, bys=boundary(a);
    35163543  std::vector<int> av=support1(a), vec, vec_n;
    3517   int i,j,vert=0;
    3518   for(i=1;i<=currRing->N;i++)
    3519   {
    3520     for(j=0;j<IDELEMS(h);j++)
     3544  int vert=0;
     3545  for(int i=1;i<=currRing->N;i++)
     3546  {
     3547    for(int j=0;j<IDELEMS(h);j++)
    35213548    {
    35223549      if(pGetExp(h->m[j],i)>0)
     
    35283555  }
    35293556  vec_n.push_back(vert);
    3530   for(i=0;i<lk.size();i++)
     3557  for(unsigned i=0;i<lk.size();i++)
    35313558  {
    35323559    vec=vecUnion(av, lk[i]);
    35333560    vecs_minus.push_back(vec);
    3534     for(j=0;j<bys.size();j++)
     3561    for(unsigned j=0;j<bys.size();j++)
    35353562    {
    35363563      vec=vecUnion(lk[i], vec_n);
     
    35503577  for(unsigned i=0;i<bvs.size();i++)
    35513578  {
    3552     for(int j=0;j!=i; j++)
     3579    for(unsigned j=0;j!=i; j++)
    35533580    {
    35543581      vs.push_back(bvs[j]);
     
    36203647     res->rtyp =IDEAL_CMD;
    36213648     res->data =idsrRing(hh);
     3649     return FALSE;
    36223650   }
    3623   return false;
     3651  return TRUE;
    36243652}
    36253653
     
    36333661     res->rtyp =IDEAL_CMD;
    36343662     res->data =h2;
     3663     return FALSE;
    36353664   }
    3636   return false;
     3665  return TRUE;
    36373666}
    36383667
     
    36453674     res->rtyp =IDEAL_CMD;
    36463675     res->data =T_1h(hh);
     3676     return FALSE;
    36473677   }
    3648   return false;
     3678  return TRUE;
    36493679}
    36503680
     
    36653695         res->rtyp =IDEAL_CMD;
    36663696         res->data =mingens(h1,p,q);
     3697         return FALSE;
    36673698       }
    36683699     }
    36693700  }
    3670   return false;
     3701  return TRUE;
    36713702}
    36723703
     
    37013732       res->rtyp =INTVEC_CMD;
    37023733       res->data =dmat(p,q);
     3734       return FALSE;
    37033735     }
    37043736  }
    3705   return false;
     3737  return TRUE;
    37063738}
    37073739
     
    37183750       res->rtyp =INTVEC_CMD;
    37193751       res->data =edgemat(p,q);
     3752       return FALSE;
    37203753     }
    37213754  }
    3722   return false;
     3755  return TRUE;
    37233756}
    37243757
     
    37313764     res->rtyp =IDEAL_CMD;
    37323765     res->data =findb(h1);
    3733   }
    3734   return false;
     3766     return FALSE;
     3767  }
     3768  return TRUE;
    37353769}
    37363770
     
    37433777     res->rtyp =IDEAL_CMD;
    37443778     res->data =p_a(h1);
    3745   }
    3746   return false;
     3779     return FALSE;
     3780  }
     3781  return TRUE;
    37473782}
    37483783
     
    37553790     res->rtyp =IDEAL_CMD;
    37563791     res->data =complementsimplex(h1);
    3757   }
    3758   return false;
     3792     return FALSE;
     3793  }
     3794  return TRUE;
    37593795}
    37603796
     
    37713807       res->rtyp =IDEAL_CMD;
    37723808       res->data =p_b(h1,p);
     3809       return FALSE;
    37733810     }
    37743811  }
    3775   return false;
     3812  return TRUE;
    37763813}
    37773814
     
    37923829         res->rtyp =IDEAL_CMD;
    37933830         res->data =finda(h1,q,d);
     3831         return FALSE;
    37943832       }
    37953833     }
    37963834  }
    3797   return false;
     3835  return TRUE;
    37983836}
    37993837
     
    38143852         res->rtyp =INTVEC_CMD;
    38153853         res->data =gradedpiece1n(h1,p,q);
    3816         return FALSE;
     3854        return FALSE;
    38173855       }
    38183856     }
     
    38413879           res->rtyp =INTVEC_CMD;
    38423880           res->data =gradedpiece1nl(h1,p,q,d);
     3881           return FALSE;
    38433882         }
    38443883       }
    38453884     }
    38463885  }
    3847   return false;
     3886  return TRUE;
    38483887}
    38493888
     
    38643903         res->rtyp =IDEAL_CMD;
    38653904         res->data =genst(h1,p,q);
     3905         return FALSE;
    38663906       }
    38673907     }
    38683908  }
    3869   return false;
     3909  return TRUE;
    38703910}
    38713911
     
    38863926         res->rtyp =INTVEC_CMD;
    38873927         res->data =gradedpiece2n(h1,p,q);
     3928         return FALSE;
    38883929       }
    38893930     }
    38903931  }
    3891   return false;
     3932  return TRUE;
    38923933}
    38933934
     
    39083949         res->rtyp =INTVEC_CMD;
    39093950         res->data =gradedpiece2nl(h1,p,q);
     3951         return FALSE;
    39103952       }
    39113953     }
    39123954  }
    3913   return false;
     3955  return TRUE;
    39143956}
    39153957
     
    39273969       std::vector<std::vector<int> > vecs=links(p,h1);
    39283970       res->data =idMaken(vecs);
     3971       return FALSE;
    39293972     }
    39303973  }
    3931   return false;
     3974  return TRUE;
    39323975}
    39333976
     
    39403983     res->rtyp =IDEAL_CMD;
    39413984     res->data =IsSimplex(h1);
    3942   }
    3943   return false;
     3985     return FALSE;
     3986  }
     3987  return TRUE;
    39443988}
    39453989
     
    39604004         res->rtyp =IDEAL_CMD;
    39614005         res->data =triangulations1(h1, p, d);
     4006         return FALSE;
    39624007       }
    39634008     }
    39644009  }
    3965   return false;
     4010  return TRUE;
    39664011}
    39674012
     
    39864031           res->rtyp =IDEAL_CMD;
    39874032           res->data =triangulations2(h1,p,q,d);
     4033           return FALSE;
    39884034         }
    39894035       }
    39904036     }
    39914037  }
    3992   return false;
     4038  return TRUE;
    39934039}
    39944040
     
    40174063             res->rtyp =IDEAL_CMD;
    40184064             res->data =triangulations3(h1,p,q,g,d);
     4065             return FALSE;
    40194066           }
    40204067         }
     
    40224069     }
    40234070  }
    4024   return false;
     4071  return TRUE;
    40254072}
    40264073
     
    40604107         std::vector<std::vector<int> > vecs=eli2(n,bset,gset);
    40614108         res->data =Tmat(vecs);
     4109         return FALSE;
    40624110       }
    40634111     }
    40644112  }
    4065   return false;
     4113  return TRUE;
    40664114}
    40674115
     
    40744122     res->rtyp =IDEAL_CMD;
    40754123     res->data =trisets(h1);
    4076   }
    4077   return false;
     4124     return FALSE;
     4125  }
     4126  return TRUE;
    40784127}
    40794128
     
    40904139       res->rtyp =INT_CMD;
    40914140       res->data =(void *)(long)valency(h1,p);
     4141       return FALSE;
    40924142     }
    40934143  }
    4094   return false;
     4144  return TRUE;
    40954145}
    40964146
     
    41134163         std::vector<int> pv=support1(p), qv=support1(q);
    41144164         res->data =idMaken(Nabv(vecs,pv,qv));
     4165         return FALSE;
    41154166       }
    41164167     }
    41174168  }
    4118   return false;
     4169  return TRUE;
    41194170}
    41204171
     
    41334184       {
    41344185         poly q= (poly)h->Data();
    4135          res->rtyp =IDEAL_CMD;
    41364186         std::vector<std::vector<int> > vecs=supports(h1), sbv,tnbr;
    41374187         std::vector<int> pv=support1(p), qv=support1(q);
     
    41444194           tnbr.push_back(nvs[tnv[i]]);
    41454195         }
     4196         res->rtyp =IDEAL_CMD;
    41464197         res->data =idMaken(tnbr);
     4198         return FALSE;
    41474199       }
    41484200     }
    41494201  }
    4150   return false;
     4202  return TRUE;
    41514203}
    41524204
     
    41614213     {
    41624214       ideal h2= (ideal)h->Data();
     4215       std::vector<std::vector<int> > vs1=supports(h1), vs2=supports(h2);
    41634216       res->rtyp =INT_CMD;
    4164        std::vector<std::vector<int> > vs1=supports(h1), vs2=supports(h2);
    41654217       res->data =(void *)(long)(vsIntersection(vs1, vs2).size());
     4218       return FALSE;
    41664219     }
    41674220  }
    4168   return false;
     4221  return TRUE;
    41694222}
    41704223
     
    41854238         res->rtyp =IDEAL_CMD;
    41864239         res->data =idMaken(Mabv(h1,p,q));
     4240         return FALSE;
    41874241       }
    41884242     }
    41894243  }
    4190   return false;
     4244  return TRUE;
    41914245}
    41924246
     
    42194273         res->rtyp =IDEAL_CMD;
    42204274         res->data =gens;
     4275         return FALSE;
    42214276       }
    42224277     }
    42234278  }
    4224   return false;
     4279  return TRUE;
    42254280}
    42264281
     
    42494304            res->rtyp =IDEAL_CMD;
    42504305            res->data =idMaken(links_new(a,  Xo,  Sigma,  vert,  ord));
     4306            return FALSE;
    42514307          }
    42524308        }
     
    42544310    }
    42554311  }
    4256   return false;
     4312  return TRUE;
    42574313}
    42584314
     
    42694325       res->rtyp =INT_CMD;
    42704326       res->data =(void *)(long)existIn(p, h1);
     4327       return FALSE;
    42714328     }
    42724329   }
    4273   return false;
     4330  return TRUE;
    42744331}
    42754332
     
    42864343       res->rtyp =IDEAL_CMD;
    42874344       res->data =idMaken(p_constant(h1,h2));
     4345       return FALSE;
    42884346     }
    42894347  }
    4290   return false;
     4348  return TRUE;
    42914349}
    42924350
     
    42994357     res->rtyp =IDEAL_CMD;
    43004358     res->data =idMaken(p_change(h1));
    4301   }
    4302   return false;
     4359     return FALSE;
     4360  }
     4361  return TRUE;
    43034362}
    43044363
     
    43154374       res->rtyp =IDEAL_CMD;
    43164375       res->data =idMaken(p_new(h1,h2));
     4376       return FALSE;
    43174377     }
    43184378  }
    4319   return false;
     4379  return TRUE;
    43204380}
    43214381
     
    43284388     res->rtyp =INT_CMD;
    43294389     res->data =(void *)(long)(support1(p).size());
    4330   }
    4331   return false;
     4390     return FALSE;
     4391  }
     4392  return TRUE;
    43324393}
    43334394
     
    43404401     res->rtyp =IDEAL_CMD;
    43414402     res->data =idMaken(bsubsets_1(p));
    4342   }
    4343   return false;
     4403     return FALSE;
     4404  }
     4405  return TRUE;
    43444406}
    43454407
     
    43564418       res->rtyp =IDEAL_CMD;
    43574419       res->data =idMinusp(h1, p);
     4420       return FALSE;
    43584421     }
    43594422  }
    4360   return false;
     4423  return TRUE;
    43614424}
    43624425
     
    43764439       res->rtyp =IDEAL_CMD;
    43774440       res->data =idMaken(re);
     4441       return FALSE;
    43784442     }
    43794443  }
    4380   return false;
     4444  return TRUE;
    43814445}
    43824446
     
    43934457       res->rtyp =IDEAL_CMD;
    43944458       res->data =c_New(h1, h2);
     4459       return FALSE;
    43954460     }
    43964461  }
    4397   return false;
     4462  return TRUE;
    43984463}
    43994464
     
    44104475       res->rtyp =IDEAL_CMD;
    44114476       res->data =idMaken(star(p, h1));
     4477       return FALSE;
    44124478     }
    44134479   }
    4414   return false;
     4480  return TRUE;
    44154481}
    44164482
     
    44274493       res->rtyp =IDEAL_CMD;
    44284494       res->data =idMaken(stellarsub(p, h2));
     4495       return FALSE;
    44294496     }
    44304497  }
    4431   return false;
     4498  return TRUE;
    44324499}
    44334500
     
    44444511       res->rtyp =IDEAL_CMD;
    44454512       res->data =idmodulo(h1, h2);
     4513       return FALSE;
    44464514     }
    44474515  }
    4448   return false;
     4516  return TRUE;
    44494517}
    44504518
     
    44614529       res->rtyp =IDEAL_CMD;
    44624530       res->data =idMinus(h1, h2);
     4531       return FALSE;
    44634532     }
    44644533  }
    4465   return false;
     4534  return TRUE;
    44664535}
    44674536
     
    44864555          res->rtyp =INT_CMD;
    44874556          res->data =(void *)(long)isoNum(p, h1, a, b);
     4557          return FALSE;
    44884558        }
    44894559      }
    44904560    }
    44914561  }
    4492   return false;
     4562  return TRUE;
    44934563}
    44944564
     
    45214591               res->rtyp =INT_CMD;
    45224592               res->data =(void *)(long)ifIso(p,q,f,g, a, b);
     4593               return FALSE;
    45234594             }
    45244595           }
     
    45274598     }
    45284599  }
    4529   return false;
     4600  return TRUE;
    45304601}
    45314602
     
    45424613       res->rtyp =INT_CMD;
    45434614       res->data =(void *)(long)redefinedeg( p, num);
    4544     }
    4545   }
    4546   return false;
     4615       return FALSE;
     4616    }
     4617  }
     4618  return TRUE;
    45474619}
    45484620
     
    45554627     res->rtyp =IDEAL_CMD;
    45564628     res->data =complementsimplex(h1);
    4557   }
    4558   return false;
     4629     return FALSE;
     4630  }
     4631  return TRUE;
    45594632}
    45604633
     
    45674640     res->rtyp =INT_CMD;
    45684641     res->data =(void *)(long)dim_sim(h1);
    4569   }
    4570   return false;
     4642     return FALSE;
     4643  }
     4644  return TRUE;
    45714645}
    45724646
     
    45834657       res->rtyp =INT_CMD;
    45844658       res->data =(void *)(long)num4dim( h1, num);
    4585     }
    4586   }
    4587   return false;
     4659       return FALSE;
     4660    }
     4661  }
     4662  return TRUE;
    45884663}
    45894664
Note: See TracChangeset for help on using the changeset viewer.