fieker-DuValspielwiese
Last change
on this file since 0ec631 was
71f00c5,
checked in by Christian Eder, 15 years ago
|
lists updated
git-svn-id: file:///usr/local/Singular/svn/trunk@11273 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | /**************************************** |
---|
2 | * Computer Algebra System SINGULAR * |
---|
3 | ****************************************/ |
---|
4 | /* $Id: lpolynomial.cc,v 1.4 2008-12-27 13:50:06 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 | #include "lists.h" |
---|
27 | /* |
---|
28 | ================================================================ |
---|
29 | all functions working on the class LPoly for labeled polynomials |
---|
30 | ================================================================ |
---|
31 | */ |
---|
32 | LPoly::LPoly(poly* t,long* i,poly* p) { |
---|
33 | set(t,i,p); |
---|
34 | } |
---|
35 | void LPoly::setPoly(poly* p) { |
---|
36 | polynomial = *p; |
---|
37 | } |
---|
38 | |
---|
39 | void LPoly::setTerm(poly* t) { |
---|
40 | term = *t; |
---|
41 | } |
---|
42 | |
---|
43 | void LPoly::setIndex(long* i) { |
---|
44 | index = *i; |
---|
45 | } |
---|
46 | |
---|
47 | |
---|
48 | void LPoly::setDel(bool b) { |
---|
49 | del = b; |
---|
50 | } |
---|
51 | |
---|
52 | poly* LPoly::getPoly() { |
---|
53 | return &polynomial; |
---|
54 | } |
---|
55 | |
---|
56 | poly* LPoly::getTerm() { |
---|
57 | return &term; |
---|
58 | } |
---|
59 | |
---|
60 | long* LPoly::getIndex() { |
---|
61 | return &index; |
---|
62 | } |
---|
63 | |
---|
64 | bool LPoly::getDel() const { |
---|
65 | return del; |
---|
66 | } |
---|
67 | |
---|
68 | void LPoly::set(poly* t, long* i, poly* p) { |
---|
69 | this->setTerm(t); |
---|
70 | this->setIndex(i); |
---|
71 | this->setPoly(p); |
---|
72 | } |
---|
73 | |
---|
74 | LPoly* LPoly::get() { |
---|
75 | return this; |
---|
76 | } |
---|
77 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.