Definition at line 2119 of file res-a0.cpp.
2120{
2123 MatrixConstructor
result(F,
G,
nullptr);
2124 if (i <= 0 || i >= resn.size() - 1)
return result.to_matrix();
2126
2127 VECTOR(res2_pair *) elems;
2128 VECTOR(res2term *) stripped;
2129
2130 int n = 0;
2131 for (res2_pair *
p = resn[i]->pairs;
p !=
nullptr;
p =
p->next)
2132 {
2135 stripped.push_back(static_cast<res2term *>(nullptr));
2136 }
2137
2138 int thisx = 0;
2139 for (
int x = 0;
x < elems.size();
x++)
2140 {
2141 res2_pair *
p = elems[
x];
2143 {
2144 if (stripped[
p->me] ==
nullptr)
2145 {
2146 stripped[
p->me] =
R->strip(
p->syz);
2148 }
2149 result.set_column(thisx++,
R->to_vector(stripped[
p->me], F, 1));
2150 }
2151 }
2152
2153 return result.to_matrix();
2154}
Matrix * make(int i) const
FreeModule * minimal_free_of(int i) const
void reduce_minimal(int x, res2term *&f, VECTOR(res2_pair *)&elems, VECTOR(res2term *)&stripped) const
unsigned char do_by_level
VALGRIND_MAKE_MEM_DEFINED & result(result)
References do_by_level, G, make(), Matrix, minimal_free_of(), p, R, reduce_minimal(), result(), SYZ2_MINIMAL, VECTOR, and x.
Referenced by get_matrix().