col_sum

Sum the matrix elements along the columns.

Arguments

  1. Vector or matrix

Output

Value or vector

Examples

col_sum