rthcolsums: Matrix column sums.

Description Usage Arguments Value Author(s) Examples

View source: R/rthcolsums.R

Description

For the given input matrix, returns the vector of column sums.

Usage

1

Arguments

m

The data, in data frame or matrix form.

nthreads

An optional argument for specifying the number of threads (in the case of OpenMP or TBB backends) that the routine should (at most) use. Does nothing with a CUDA backend. See nthreads.

Value

Vector of column sums.

Author(s)

Norm Matloff <[email protected]> and Drew Schmidt <[email protected]>

Examples

1
2
3
4
5
6
7
## Not run: 

# "attitude" data set, built-in to R
rthcolsums(attitude)
# should print 1939 1998...

## End(Not run)

matloff/Rth documentation built on May 21, 2019, 12:55 p.m.