Definition at line 90 of file comp-gb-declared.cpp.
94{
95
96
97
98
99 assert(m != 0 &&
gb != 0 && change != 0 &&
syz != 0);
100 const Ring *R =
gb->get_ring();
102 {
103 ERROR(
"expected the same ring");
104 return nullptr;
105 }
106
108 if (P == nullptr)
109 {
110 ERROR(
"declaring a GB requires a polynomial ring");
111 return nullptr;
112 }
113
115}
GBDeclared(const Matrix *m0, const Matrix *gb, const Matrix *change, const Matrix *syz0)
const Ring * get_ring() const
virtual const PolynomialRing * cast_to_PolynomialRing() const
void gb(IntermediateBasis &F, int n)
References Ring::cast_to_PolynomialRing(), ERROR, gb(), GBComputation::GBComputation(), GBDeclared(), Matrix::get_ring(), Matrix, and syz.
Referenced by IM2_GB_force(), rawMarkedGB(), and GBWalker::start_computation().