Description Usage Arguments Value Author(s) Examples
For the given input matrix, returns the vector of column sums.
1 | rthcolsums(m, nthreads = rth.nthreads())
|
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. |
Vector of column sums.
Norm Matloff <matloff@cs.ucdavis.edu> and Drew Schmidt <schmidt@math.utk.edu>
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.