Actions
Feature #2321
closed[PATCH] Array Module sum and mean features
Status:
Rejected
Assignee:
-
Target version:
-
Description
=begin
I have created a new patch for the Array Module of Ruby. The patch adds two complementary features: A sum function, that sums the elements in an array if they are numbers; and a mean (or average) function that finds the mean of the elements in the the array using the sum function. Attached is a patch to implement these features. I apologize in advance if this has already been proposed.
Sincerely,
Daniel Cohen
=end
Files
Actions
Like0
Like0