#include <npolygon.h>
Definition at line 17 of file npolygon.h.
◆ linearForm() [1/2]
linearForm::linearForm |
( |
| ) |
|
|
inline |
◆ linearForm() [2/2]
◆ ~linearForm()
linearForm::~linearForm |
( |
| ) |
|
◆ copy_deep()
Definition at line 93 of file npolygon.cc.
94{
96 for(
int i=
l.N-1;
i>=0;
i-- )
97 {
99 }
101}
◆ copy_delete()
void linearForm::copy_delete |
( |
void |
| ) |
|
◆ copy_new()
void linearForm::copy_new |
( |
int |
k | ) |
|
Definition at line 36 of file npolygon.cc.
37{
39 {
41
42 #ifndef NBDEBUG
44 {
45 #ifdef NPOLYGON_PRINT
46 #ifdef NPOLYGON_IOSTREAM
47 cerr <<
48 "void linearForm::copy_new( int k ): no memory left ...\n" ;
49 #else
50 fprintf( stderr,
51 "void linearForm::copy_new( int k ): no memory left ...\n");
52 #endif
53 #endif
55 }
56 #endif
57 }
59 {
61 }
63 {
64 #ifdef NPOLYGON_PRINT
65 #ifdef NPOLYGON_IOSTREAM
66 cerr <<
67 "void linearForm::copy_new( int k ): k < 0 ...\n";
68 #else
69 fprintf( stderr,
70 "void linearForm::copy_new( int k ): k < 0 ...\n" );
71 #endif
72 #endif
73
75 }
76}
◆ copy_shallow()
◆ copy_zero()
void linearForm::copy_zero |
( |
void |
| ) |
|
|
inline |
◆ operator=()
Definition at line 125 of file npolygon.cc.
126{
129
130 return *this;
131}
◆ positive()
int linearForm::positive |
( |
void |
| ) |
|
Definition at line 279 of file npolygon.cc.
280{
281 for(
int i=0;
i<
N;
i++ )
282 {
284 {
286 }
287 }
289}
◆ pweight()
Definition at line 205 of file npolygon.cc.
206{
209
212
214 {
216 if( tmp<ret )
217 {
218 ret = tmp;
219 }
220 }
221
222 return ret;
223}
◆ weight()
Definition at line 189 of file npolygon.cc.
190{
192
193 for(
int i=0,
j=1;
i<
N;
i++,
j++ )
194 {
196 }
197
198 return ret;
199}
static long p_GetExp(const poly p, const unsigned long iBitmask, const int VarOffset)
get a single variable exponent @Note: the integer VarOffset encodes:
◆ weight1()
Definition at line 245 of file npolygon.cc.
246{
248
249 for(
int i=0,
j=2;
i<
N;
i++,
j++ )
250 {
252 }
253
254 return ret;
255}
◆ weight_shift()
Definition at line 229 of file npolygon.cc.
230{
232
233 for(
int i=0,
j=1;
i<
N;
i++,
j++ )
234 {
236 }
237
238 return ret;
239}
◆ weight_shift1()
Rational linearForm::weight_shift1 |
( |
poly |
m, |
|
|
const ring |
r |
|
) |
| const |
Definition at line 262 of file npolygon.cc.
263{
265
266 for(
int i=0,
j=2;
i<
N;
i++,
j++ )
267 {
269 }
270
271 return ret;
272}
◆ newtonPolygon
◆ operator==
Definition at line 172 of file npolygon.cc.
173{
176 for(
int i=l1.
N-1;
i >=0 ;
i-- )
177 {
178 if( l1.
c[
i]!=l2.
c[
i] )
180 }
182}
The documentation for this class was generated from the following files: