Class: EnumerableStatistics::Histogram

Inherits:
Struct
  • Object
show all
Defined in:
lib/enumerable_statistics/histogram.rb

Instance Attribute Summary collapse

Instance Attribute Details

#closedObject

Returns the value of attribute closed

Returns:

  • (Object)

    the current value of closed



2
3
4
# File 'lib/enumerable_statistics/histogram.rb', line 2

def closed
  @closed
end

#edgesObject Also known as: edge

Returns the value of attribute edges

Returns:

  • (Object)

    the current value of edges



2
3
4
# File 'lib/enumerable_statistics/histogram.rb', line 2

def edges
  @edges
end

#isdensityObject Also known as: density?

Returns the value of attribute isdensity

Returns:

  • (Object)

    the current value of isdensity



2
3
4
# File 'lib/enumerable_statistics/histogram.rb', line 2

def isdensity
  @isdensity
end

#weightsObject

Returns the value of attribute weights

Returns:

  • (Object)

    the current value of weights



2
3
4
# File 'lib/enumerable_statistics/histogram.rb', line 2

def weights
  @weights
end