sparsify2: Sparsify arma::mat into arma::sp_mat

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Return permutations as a numeric sparse matrix (can be binary or continuous)

Usage

1
sparsify2(perm, nrow, G)

Arguments

perm

dense matrix with the permutations

nrow

number of rows for the sparse matrix

G

sparse column matrix

Value

an arma::sp_mat object


b2slab/diffusion documentation built on March 6, 2021, 2:38 a.m.