colSumsiter: Column sums for sparseMatrix

Description Usage Arguments Details Value Author(s) See Also

View source: R/RcppExports.R

Description

Form column sums for sparseMatrix.

Usage

1

Arguments

x

A sparse matrix, i.e., inheriting from sparseMatrix.

Details

This function is designed to be used for internal RcppArmadillo functions. Nevertheless it could be applied in R. It loops on the non-zero entries of the sparseMatrix. For general uses, the function colSums should be prefered.

Value

column sums of x.

Author(s)

Raphaƫl Jauslin raphael.jauslin@unine.ch

See Also

colSums, rowSums.


RJauslin/Sampling documentation built on Aug. 29, 2020, 7:27 a.m.