Rmumps__set_mat_ptr: Set Matrix via Pointer

View source: R/RcppExports.R

Rmumps__set_mat_ptrR 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.


rmumps documentation built on Nov. 3, 2023, 5:08 p.m.