Template Function proxsuite::proxqp::sparse::reconstructed_matrix

Function Documentation

template<typename T, typename I>
auto proxsuite::proxqp::sparse::reconstructed_matrix(proxsuite::linalg::sparse::MatMut<T, I> ldl, I const *perm_inv, isize n_tot) -> DMat<T>

Reconstructs manually the value of the KKT matrix.

Parameters:
  • ldl – current ldlt.

  • do_ldlt – boolean variable for doing the ldlt (rather than MinRes algorithm).

  • perm_inv – pointer to the inverse of the permutation.

  • n_tot – dimension of the KKT matrix