mat_sum

Sum the matrix elements.

Arguments

  1. Vector or matrix

Output

Value or vector

Examples

mat_sum