sumRows(Number[][] array)

Sums over each row of the given array

Parameters

  • Number[][] array - the 2d array to sum the elements of.

Return type

Number[]