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

◆ change_matrix()

const Matrix * gbres_comp::change_matrix ( int level)

Definition at line 307 of file res-a2.cpp.

308{
309 if (level <= 0 || level >= n_nodes)
310 return Matrix::zero(free_module(level - 1), free_module(level));
311 return nodes[level]->change_matrix();
312}
static Matrix * zero(const FreeModule *F, const FreeModule *G)
Definition matrix.cpp:369
int n_nodes
Definition res-a2.hpp:253
gb_node ** nodes
Definition res-a2.hpp:254
const FreeModule * free_module(int level) const
Definition res-a2.cpp:274

References free_module(), Matrix, n_nodes, and nodes.