source: git/kernel/f5gb.cc @ 19a378

spielwiese
Last change on this file since 19a378 was 19a378, checked in by Christian Eder, 16 years ago
first test git-svn-id: file:///usr/local/Singular/svn/trunk@10693 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 872 bytes
Line 
1/****************************************
2*  Computer Algebra System SINGULAR     *
3****************************************/
4/* $Id: f5gb.cc,v 1.2 2008-04-29 18:34:06 ederc Exp $ */
5/*
6* ABSTRACT: f5gb interface
7*/
8#include "mod2.h"
9#include "kutil.h"
10#include "structs.h"
11#include "omalloc.h"
12#include "polys.h"
13#include "p_polys.h"
14#include "ideals.h"
15#include "febase.h"
16#include "kstd1.h"
17#include "khstd.h"
18#include "kbuckets.h"
19#include "weight.h"
20#include "intvec.h"
21#include "pInline1.h"
22
23#include "f5gb.h"
24
25#ifdef HAVE_F5
26ideal computeF5(ideal i, ring r)
27{
28  ideal res;
29       
30  Print("Hallo\n");
31  res = idInit(IDELEMS(i),i->rank);
32  for(int j=0; j<IDELEMS(i); j++)
33  {
34    if(NULL != i->m[j])
35    {
36      res->m[j] = i->m[j];
37    }
38  }
39  Print("Ideal i: %d \n", IDELEMS(i));mflush();
40  Print("Ideal res: %d", IDELEMS(res));mflush();
41
42  return NULL;
43}
44#endif
Note: See TracBrowser for help on using the repository browser.