Template Function proxsuite::linalg::sparse::delete_row
Defined in File rowmod.hpp
Function Documentation
-
template<typename T, typename I>
auto proxsuite::linalg::sparse::delete_row(MatMut<T, I> ld, I *etree, I const *perm_inv, isize pos, DynStackMut stack) noexcept(false) -> MatMut<T, I> Given the ldlt factors of matrix a, computes the ldlt factors of the matrix a with row and column at position pos replaced by those of the identity matrix It returns a view of the updated factors.
- Parameters:
ld – : the ldlt factors
etree – pointer to the elimination tree
perm_inv – pointer to inverse permutation (for ex AMD). If this is null, the permutation is assumed to be the identity.
pos – position of the row and column to be deleted
stack – is the memory stack