source: git/kernel/f5gb.h @ 948192

spielwiese
Last change on this file since 948192 was 948192, checked in by Christian Eder, 16 years ago
implementation of labeled polynomials git-svn-id: file:///usr/local/Singular/svn/trunk@10944 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 757 bytes
RevLine 
[936551]1/****************************************
2*  Computer Algebra System SINGULAR     *
3****************************************/
[948192]4/* $Id: f5gb.h,v 1.7 2008-08-05 20:44:08 ederc Exp $ */
[936551]5/*
[d0f98e]6* ABSTRACT: f5gb interface
[936551]7*/
8#ifndef F5_HEADER
9#define F5_HEADER
10#include "mod2.h"
[948192]11#include "lpolynom.h"
[936551]12
13#ifdef HAVE_F5
[d0f98e]14
15
[8627ad]16// structure of the rules, i.e. index and term
17struct rule{
18        long index;
19        poly term;
20};
21
22
[d0f98e]23// sort polynomials in ideal i by decreasing total degree
24void qsort_degree(poly* left, poly* right);
25
[8627ad]26
[948192]27/* computes incrementally gbs of subsets of the input
28** gb{f_m} -> gb{f_m,f_(m-1)} -> gb{f_m,...,f_1} 
29*/
[8627ad]30lpoly* f5_inc(lpoly* lp, lpoly* g_prev);
31
32
[d0f98e]33// main function of our f5 implementation
[171950]34ideal F5main(ideal i, ring r);
[936551]35#endif
36#endif
[171950]37
Note: See TracBrowser for help on using the repository browser.