Rmumps__set_mat_ptr {rmumps} | R Documentation |
Set Matrix via Pointer
Description
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).
Usage
Rmumps__set_mat_ptr(pm, pa)
Arguments
pm |
pointer of type XPtr<Rmumps>, object having sparse matrix to be replaced with second parameter |
pa |
pointer of type XPtr<double>, 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. |
[Package rmumps version 5.2.1-30 Index]