Template Function proxsuite::linalg::sparse::add_row_req

Function Documentation

template<typename T, typename I>
auto proxsuite::linalg::sparse::add_row_req(proxsuite::linalg::veg::Tag<T>, proxsuite::linalg::veg::Tag<I>, isize n, bool id_perm, isize nnz, isize max_nnz) noexcept -> proxsuite::linalg::veg::dynstack::StackReq

Computes the memory requirements for adding a row and column for the ldlt factors

Parameters:
  • n – : dimension of the matrix

  • id_perm – : whether the permutation corresponds to the identity

  • nnz – : number of non zero elements in the added vector

  • max_nnz – : upper bound of non zero counts over the columns of the matrix. n is always a valid value.