Macaulay2 Engine
Loading...
Searching...
No Matches

◆ get_change()

const Matrix * GaussElimComputation::get_change ( )
virtual

Implements GBComputation.

Definition at line 299 of file gauss.cpp.

300{
301 MatrixConstructor mat(Fsyz, 0);
302 for (int i = 0; i < gens->n_rows(); i++)
303 if (gb_list[i] != nullptr) mat.append(R->copy_vec(gb_list[i]->fsyz));
304 return mat.to_matrix();
305}
gm_elem ** gb_list
Definition gauss.hpp:63
const Matrix * gens
Definition gauss.hpp:67
const Ring * R
Definition gauss.hpp:66
const FreeModule * Fsyz
Definition gauss.hpp:68

References MatrixConstructor::append(), Fsyz, gb_list, gens, Matrix, R, and MatrixConstructor::to_matrix().