1071{
1072 int comp;
1073 const ring_elem a = f->
coeff;
1074 const ring_elem b = g->
coeff;
1075 ring_elem u, v;
1076
1081
1084
1085 K->syzygy(a, b, u, v);
1091 else
1092 comp = 0;
1094 {
1095
1096 if (
_skew.mult_sign(EXP3, EXP1) !=
_skew.mult_sign(EXP4, EXP2))
1098 }
1099 M->from_expvector(EXP3, MONOM1);
1100 M->from_expvector(EXP4, MONOM2);
1102 gbvector *result1 =
mult_by_term(F, g, v, MONOM2, comp);
1104 if (fsyz == nullptr && gsyz == nullptr)
1105 result_syz = nullptr;
1106 else
1107 {
1109 gbvector *result_syz1 =
mult_by_term(Fsyz, gsyz, v, MONOM2, comp);
1111 }
1112}
exponents::Exponents exponents_t
gbvector * mult_by_term(const FreeModule *F, const gbvector *f, ring_elem u, const int *monom, int comp)
bool is_skew_commutative() const
void gbvector_add_to(const FreeModule *F, gbvector *&f, gbvector *&g)
void gbvector_get_lead_exponents(const FreeModule *F, const gbvector *f, int *result)
void exponent_syzygy(const int *exp1, const int *exp2, int *exp3, int *exp4)
VALGRIND_MAKE_MEM_DEFINED & result(result)
#define ALLOCATE_EXPONENTS(byte_len)
#define ALLOCATE_MONOMIAL(byte_len)