# source:git/kernel/lpolynomial.cc@3b5daf

spielwiese
Last change on this file since 3b5daf was 3b5daf, checked in by Christian Eder, 15 years ago
new labeled polynomial part git-svn-id: file:///usr/local/Singular/svn/trunk@11206 2c84dea3-7e68-4137-9b89-c4e89433aadc
• Property mode set to `100644`
File size: 1.1 KB
Line
1/****************************************
2*  Computer Algebra System SINGULAR     *
3****************************************/
4/* \$Id: lpolynomial.cc,v 1.1 2008-11-22 20:46:20 ederc Exp \$ */
5/*
6* ABSTRACT: lpolynomial definition
7*/
8#include "mod2.h"
9
10#ifdef HAVE_F5
11#include "kutil.h"
12#include "structs.h"
13#include "omalloc.h"
14#include "polys.h"
15#include "p_polys.h"
16#include "ideals.h"
17#include "febase.h"
18#include "kstd1.h"
19#include "khstd.h"
20#include "kbuckets.h"
21#include "weight.h"
22#include "intvec.h"
23#include "pInline1.h"
24#include "f5gb.h"
25#include "lpolynomial.h"
26
27
28/*2
29* all functions working on the class lpoly for labeled polynomials
30*/
31
32void lpoly::setPoly(poly p)
33{
34        polynomial = p;
35}
36
37void lpoly::setTerm(poly t)
38{
39        term = t;
40}
41
42void lpoly::setIndex(long i)
43{
44        index = i;
45}
46
47
48void lpoly::setDel(bool b)
49{
50        del = b;
51}
52
53void lpoly::setNext(lpoly* l)
54{
55        next = l;
56}
57
58poly lpoly::getPoly()
59{
60        return polynomial;
61}
62
63poly lpoly::getTerm()
64{
65        return term;
66}
67
68long lpoly::getIndex()
69{
70        return index;
71}
72
73bool lpoly::getDel()
74{
75        return del;
76}
77
78lpoly *lpoly::getNext()
79{
80        return next;
81}
82
83#endif
Note: See TracBrowser for help on using the repository browser.