sp_sums_Rcpp: Calculate column-wise or row-wise sum

View source: R/RcppExports.R

sp_sums_RcppR Documentation

Calculate column-wise or row-wise sum

Description

Calculate column-wise or row-wise sum

Usage

sp_sums_Rcpp(sp_data, rowSums = FALSE)

Arguments

sp_data

A sparse matrix

rowSums

A boolean value, whether to calculate row-wise sum

Value

A n x 1 or p x 1 matrix


xzhoulab/SPARK documentation built on Nov. 20, 2022, 2:54 p.m.