Description Usage Arguments Details See Also Examples
Demonstration of fast row and columns sums in C++
1 2 3 |
x |
a numeric matrix |
A very efficient row summing algorithm that demonstrates
the use of the strided pointer concept. The row_sum
algorithm is
roughly twice as fast as rowSums
. The col_sum
algorithm
matches colSums
for speed.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.