Options
All
  • Public
  • Public/Protected
  • All
Menu

Histogram class

This class computes the histogram of a given data set. The caller can specify the number of bins, the breaks, or the algorithm for determining these quantities in computing the histogram.

Hierarchy

  • Histogram

Index

Properties

Private _algorithm

_algorithm: Algorithm = -1

Private _bins

_bins: Size = 0

Private _breaks

_breaks: Real[]

Private _counts

_counts: Real[]

Private _data

_data: Real[]

Private _frequency

_frequency: Real[]

Methods

algorithm

  • Returns Algorithm

bins

  • Returns Size

breaks

  • Returns Real[]

Private calculate

  • calculate(): void
  • Returns void

counts

  • Parameters

    Returns Size

empty

  • empty(): boolean
  • Returns boolean

frequency

  • Parameters

    Returns Real

init1

  • Parameters

    Returns Histogram

init2

  • Parameters

    Returns Histogram

init3

  • Parameters

    Returns Histogram