sum abstract method

double sum()

Returns the sum of all the matrix elements

Implementation

double sum();