Template Function bats::remove_extra_cycles

Function Documentation

template<class TVec>
void bats::remove_extra_cycles(const ColumnMatrix<TVec> &R, ColumnMatrix<TVec> &U)

Update change of basis matrix to not be as dense by removing lower grade cycles from U.

Let j1 < j2, and R[j1] = 0 Then, we can add a linear combination of U[j1] to U[j2] without changing the matrix invatiant B*U = R

Parameters
  • R – reduced matrix

  • U – change of basis matrix