cumsummcol | R Documentation |
Column-wise cumulative sums in mpfr array.
cumsummcol(mtrx)
mtrx |
mpfr two-dimensional array. |
mpfr array with column-wise cumulative sums, same dimension as the original array.
nill <- Rmpfr::mpfr(0, 120) one <- Rmpfr::mpfr(1, 120) two <- Rmpfr::mpfr(2, 120) contents <- c(one,nill,nill, one,one,one, two,two,two) mtrx3 <- Rmpfr::mpfr2array(contents, dim = c(3, 3)) print(mtrx3) print(cumsummcol(mtrx3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.