sumall_byname function

Sum of all elements in a matrix