cumsum2: Cumulative sum for a matrix

Description Usage Arguments Value

Description

If p is initial matrix, the result is the matrix with the following elements:

r_{ij} = ∑_{k=1}^i∑_{l=1}^j p_{ij}

Usage

1

Arguments

p

a matrix

Value

a matrix of cumulative sums


mpiktas/retacoro documentation built on May 23, 2019, 6:32 a.m.