Reimplemented from Ring.
Definition at line 290 of file polyquotient.cpp.
293{
294 if (
K_->get_precision() > 0)
295 {
297 "polynomial division not yet implemented for RR or CC coefficients");
300 }
302 matf.set_entry(0, 0, f);
303 Matrix *mf = matf.to_matrix();
304
306
307 const Matrix *mrem, *mquot;
308 G->matrix_lift(mf, &mrem, &mquot);
309 quot = mquot->
elem(0, 0);
311
312 delete mrem;
313 delete mquot;
314 delete mf;
317}
ring_elem elem(int i, int j) const
virtual ring_elem from_long(long n) const
GBComputation * make_gb(const ring_elem g) const
virtual FreeModule * make_FreeModule() const
VALGRIND_MAKE_MEM_DEFINED & result(result)
References Matrix::elem(), ERROR, from_long(), G, PolynomialRing::K_, Ring::make_FreeModule(), make_gb(), Matrix, result(), MatrixConstructor::set_entry(), and MatrixConstructor::to_matrix().