Skip to content
Prev 75053 / 398502 Next

Computing sums of the columns of an array

On 8/5/2005 12:16 PM, Martin C. Martin wrote:
You'd probably do better with matrix multiplication:

rep(1, nrow(A)) %*% A

Duncan Murdoch