Changeset 305057 in git for Singular/extra.cc


Ignore:
Timestamp:
Nov 27, 2010, 11:52:21 AM (13 years ago)
Author:
Martin Monerjan
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
97939e5ee5fff70c24cb3d9f9582523bf3efaf60
Parents:
43317d7c168dc7963686b32ca4150c8777e93843
Message:
grcone to compute a single cone. Needs wp ordering. Just a wrapper to call gfan in a special way. 
gfan has new third parameter which is by default FALSE
removed two cddlib frees in getConeNormals


git-svn-id: file:///usr/local/Singular/svn/trunk@13680 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    r43317d r305057  
    36103610      ideal I=((ideal)h->Data());
    36113611      res->rtyp=LIST_CMD;
    3612       res->data=(lists) gfan(I,heuristic);
     3612      res->data=(lists) gfan(I,heuristic,FALSE);
    36133613      return FALSE;
    36143614    }
     
    36193619    }
    36203620  }
     3621  //Possibility to have only one Gröbner cone computed by specifying a weight vector FROM THE RELATIVE INTERIOR!
     3622  //Needs wp as ordering!
     3623  if(strcmp(sys_cmd,"grcone")==0)
     3624  {
     3625    if(h!=NULL && h->Typ()==IDEAL_CMD && h->next!=NULL && h->next->Typ()==INT_CMD)
     3626    {
     3627      ideal I=((ideal)h->Data());
     3628      res->rtyp=LIST_CMD;
     3629      res->data=(lists)grcone_by_intvec(I);
     3630    }
     3631  }
    36213632  else
     3633   
    36223634#endif
    36233635/*==================== Error =================*/
Note: See TracChangeset for help on using the changeset viewer.