This is a C wrapper to Rmumps::set_mat_ptr(a) method. Available in R too. In C++ code can be used as rmumps::Rmumps__set_mat_ptr(pm). Using this method invalidates previous numeric decomposition (but not symbolic one).
Rmumps__set_mat_ptr(pm, pa)
Arguments
pm: pointer of type XPtr, object having sparse matrix to be replaced with second parameter
pa: pointer of type XPtr, value vector from sparse triplet providing a new matrix. Structure of the new matrix must be identical to the old one. That's why there is no need to provide i and j for the new triplet.