#include <gfanlib/gfanlib_vector.h>
Go to the source code of this file.
◆ nonvalued_adjustWeightForHomogeneity()
gfan::ZVector nonvalued_adjustWeightForHomogeneity |
( |
const gfan::ZVector & |
w | ) |
|
Definition at line 14 of file adjustWeights.cc.
17 gfan::Integer
min=
w[0];
18 for (
unsigned i=1;
i<
w.size();
i++)
25 gfan::ZVector
v=gfan::ZVector(
w.size());
26 for (
unsigned i=0;
i<
w.size();
i++)
bool checkForNonPositiveEntries(const gfan::ZVector &w)
static int min(int a, int b)
const Variable & v
< [in] a sqrfree bivariate poly
◆ nonvalued_adjustWeightUnderHomogeneity()
gfan::ZVector nonvalued_adjustWeightUnderHomogeneity |
( |
const gfan::ZVector & |
e, |
|
|
const gfan::ZVector & |
w |
|
) |
| |
Definition at line 54 of file adjustWeights.cc.
58 gfan::Integer
min=e[0];
59 for (
unsigned i=1;
i<e.size();
i++)
66 gfan::ZVector
v=gfan::ZVector(e.size());
67 for (
unsigned i=0;
i<e.size();
i++)
bool checkForNonPositiveEntries(const gfan::ZVector &w)
static int min(int a, int b)
const Variable & v
< [in] a sqrfree bivariate poly
◆ valued_adjustWeightForHomogeneity()
gfan::ZVector valued_adjustWeightForHomogeneity |
( |
const gfan::ZVector & |
w | ) |
|
Definition at line 32 of file adjustWeights.cc.
36 gfan::Integer
max=
w[1];
37 for (
unsigned i=2;
i<
w.size();
i++)
41 gfan::ZVector
v=gfan::ZVector(
w.size());
43 for (
unsigned i=1;
i<
w.size();
i++)
static int max(int a, int b)
const Variable & v
< [in] a sqrfree bivariate poly
bool checkForNonPositiveLaterEntries(const gfan::ZVector &w)
◆ valued_adjustWeightUnderHomogeneity()
gfan::ZVector valued_adjustWeightUnderHomogeneity |
( |
const gfan::ZVector & |
e, |
|
|
const gfan::ZVector & |
w |
|
) |
| |
Definition at line 73 of file adjustWeights.cc.
80 gfan::Integer
k((
long)0);
82 k = gfan::Integer((
long)1)-(e[0]/
w[0]);
83 for (
unsigned i=1;
i<e.size();
i++)
87 gfan::Integer kk = gfan::Integer((
long)1)-(e[
i]/
w[
i]);
94 gfan::ZVector
v = e+
k*
w;
const Variable & v
< [in] a sqrfree bivariate poly
bool checkForNonPositiveLaterEntries(const gfan::ZVector &w)