source: git/kernel/f5gb.h @ d0f98e

spielwiese
Last change on this file since d0f98e was d0f98e, checked in by Christian Eder, 16 years ago
quicksort git-svn-id: file:///usr/local/Singular/svn/trunk@10735 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 837 bytes
Line 
1/****************************************
2*  Computer Algebra System SINGULAR     *
3****************************************/
4/* $Id: f5gb.h,v 1.4 2008-06-01 12:50:03 ederc Exp $ */
5/*
6* ABSTRACT: f5gb interface
7*/
8#ifndef F5_HEADER
9#define F5_HEADER
10#include "mod2.h"
11
12#ifdef HAVE_F5
13
14
15class lpoly {
16        private:
17                poly* t_ptr;
18                long* i_ptr;
19                poly* p_ptr;
20
21        public:
22                void setPoly(poly* p);
23                poly* getPoly();
24                void setTerm(poly* t);
25                poly* getTerm();
26                void setIndex(long* i);
27                long* getIndex();
28};
29
30
31
32// sort polynomials in ideal i by decreasing total degree
33void qsort_degree(poly* left, poly* right);
34
35// main function of our f5 implementation
36ideal F5main(ideal i, ring r);
37#endif
38#endif
39
Note: See TracBrowser for help on using the repository browser.