source: git/kernel/f5gb.cc @ fd2ac0

spielwiese
Last change on this file since fd2ac0 was fd2ac0, checked in by Christian Eder, 15 years ago
*** empty log message *** git-svn-id: file:///usr/local/Singular/svn/trunk@10729 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 838 bytes
RevLine 
[936551]1/****************************************
2*  Computer Algebra System SINGULAR     *
3****************************************/
[fd2ac0]4/* $Id: f5gb.cc,v 1.4 2008-05-24 07:39:22 ederc Exp $ */
[936551]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
[171950]26ideal F5main(ideal i, ring r)
[936551]27{
[171950]28  ideal iTmp, g;
29  int j;     
30  iTmp = idInit(IDELEMS(i),i->rank);
31 
32  for(j=0; j<IDELEMS(i); j++)
[19a378]33  {
34    if(NULL != i->m[j])
35    {
[171950]36      iTmp->m[j] = i->m[j];
[19a378]37    }
38  }
[fd2ac0]39   
[171950]40  iTmp = kInterRed(i,0); 
41  idShow(i);
42  idShow(iTmp);
[fd2ac0]43  idShow(iTmp);
44  return iTmp;
[936551]45}
46#endif
Note: See TracBrowser for help on using the repository browser.