Method Math.Matrix()->sum() Method sum Matrix sum() Description Produces the sum of all the elements in the matrix.