spielwiese
Last change
on this file since 2f2bb21 was
cfb8edb,
checked in by Christian Eder, 16 years ago
|
:
git-svn-id: file:///usr/local/Singular/svn/trunk@11125 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: lpolynom.cc,v 1.3 2008-10-11 12:12:46 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 "lpolynom.h" |
---|
26 | |
---|
27 | |
---|
28 | /*2 |
---|
29 | * all functions working on the class lpoly for labeled polynomials |
---|
30 | */ |
---|
31 | |
---|
32 | void lpoly::setPoly(poly p) |
---|
33 | { |
---|
34 | polynomial = p; |
---|
35 | } |
---|
36 | |
---|
37 | void lpoly::setTerm(poly t) |
---|
38 | { |
---|
39 | term = t; |
---|
40 | } |
---|
41 | |
---|
42 | void lpoly::setIndex(long i) |
---|
43 | { |
---|
44 | index = i; |
---|
45 | } |
---|
46 | |
---|
47 | |
---|
48 | void lpoly::setDel(bool b) |
---|
49 | { |
---|
50 | del = b; |
---|
51 | } |
---|
52 | |
---|
53 | void lpoly::setNext(lpoly* l) |
---|
54 | { |
---|
55 | next = l; |
---|
56 | } |
---|
57 | |
---|
58 | poly lpoly::getPoly() |
---|
59 | { |
---|
60 | return polynomial; |
---|
61 | } |
---|
62 | |
---|
63 | poly lpoly::getTerm() |
---|
64 | { |
---|
65 | return term; |
---|
66 | } |
---|
67 | |
---|
68 | long lpoly::getIndex() |
---|
69 | { |
---|
70 | return index; |
---|
71 | } |
---|
72 | |
---|
73 | bool lpoly::getDel() |
---|
74 | { |
---|
75 | return del; |
---|
76 | } |
---|
77 | |
---|
78 | lpoly *lpoly::getNext() |
---|
79 | { |
---|
80 | return next; |
---|
81 | } |
---|
82 | |
---|
83 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.