Definition at line 141 of file f4-m2-interface.cpp.
145{
148 MutableMatrix *M =
150 for (int r = 0; r < nrows; r++)
151 {
152 row_elem &row = mat->
rows[r];
153 const ElementArray* coeffs;
155 {
156 if (row.
monom ==
nullptr)
157 coeffs = & gens[row.
elem]->f.coeffs;
158 else
159 coeffs = &
gb[row.
elem]->f.coeffs;
160 }
161 else
162 {
164 }
165 for (
int i = 0; i < row.
len; i++)
166 {
167 int c = row.
comps[i];
170 }
171 }
172 return M;
173}
virtual bool set_entry(size_t r, size_t c, const ring_elem a)=0
ring_elem ringElemFromElementArray(const ElementArray &coeffs, int index) const
const Ring * ring() const
void gb(IntermediateBasis &F, int n)
MutableMatrix * IM2_MutableMatrix_make(const Ring *R, int nrows, int ncols, M2_bool is_dense)
References row_elem::coeffs, coefficient_matrix::columns, row_elem::comps, row_elem::elem, gb(), IM2_MutableMatrix_make(), INTSIZE, ElementArray::isNull(), row_elem::len, row_elem::monom, VectorArithmetic::ring(), VectorArithmetic::ringElemFromElementArray(), coefficient_matrix::rows, and MutableMatrix::set_entry().
Referenced by F4GB::show_matrix().