source: git/kernel/gfan.cc @ fcb8022

spielwiese
Last change on this file since fcb8022 was b3e45f, checked in by Martin Monerjan, 15 years ago
*** empty log message *** git-svn-id: file:///usr/local/Singular/svn/trunk@11352 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 533 bytes
Line 
1/*
2Compute the Gröbner fan of an ideal
3*/
4
5#include "mod2.h"
6#include "kstd1.h"
7#include "intvec.h"
8
9#ifndef gfan_DEBUG
10#define gfan_DEBUG
11#endif
12
13ideal getGB(ideal inputIdeal){
14        ideal gb;
15        gb=kStd(inputIdeal,NULL,testHomog,NULL); //Possible to call without testHomog/isHomog?
16                                                // Why are 64 "results" printed?
17        #ifdef gfan_DEBUG
18        printf("Now in getGB\n");
19        #endif
20        return gb;
21}
22
23ideal gfan(ideal inputIdeal){
24        #ifdef gfan_DEBUG
25        printf("Now in subroutine gfan\n");
26        #endif
27        ideal res;
28        res=getGB(inputIdeal);
29        return res;
30}
31
Note: See TracBrowser for help on using the repository browser.