# module Nuggets::Array::StandardDeviationMixin

### Public Class Methods

included(base)
click to toggle source

# File lib/nuggets/array/standard_deviation_mixin.rb, line 33 def self.included(base) base.send :include, Nuggets::Array::VarianceMixin end

### Public Instance Methods

standard_deviation → aFloat
click to toggle source

Calculates the standard
deviation of the values in *array*.

# File lib/nuggets/array/standard_deviation_mixin.rb, line 42 def standard_deviation(&block) ::Math.sqrt(variance(&block)) end

Also aliased as: std