0.0
No commit activity in last 3 years
No release in over 3 years
Support for Array#sum, Array#mean, Array#variance, Array#standard_deviation. An ArgumentError is raised when at least one array element is non-numeric.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.0.0.beta.20
 Project Readme

numeric_array

An extension for the native Array class with support for mathematical/statistical calculations.

- Array#sum
- Array#total
- Array#average
- Array#avg
- Array#mean
- Array#variance
- Array#standard_deviation
- Array#std_dev

Usage

gem install numeric_array

require 'numeric_array'

If using bundler

gem 'numeric_array', :require => 'numeric_array'