Skip to content

A native extension for Ruby to handle standard deviation for Arrays

Notifications You must be signed in to change notification settings

PingoUPB/ruby-standard-deviation

Repository files navigation

Ruby Standard Deviation

This is a native extension to Ruby that adds a standard deviation calculation to the Array class.

Usage

require 'ruby-standard-deviation'
r = [1,3,21,32,42]

# calculate sample standard deviation, you can also use stdevs
p r.stdev 

# calculate population standard deviation
p r.stdevp

About

A native extension for Ruby to handle standard deviation for Arrays

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published