Click or drag to resize
Histogram Class
A class which computes histograms of data.
Inheritance Hierarchy
SystemObject
  MathNet.Numerics.StatisticsHistogram

Namespace: MathNet.Numerics.Statistics
Assembly: MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
[SerializableAttribute]
public class Histogram

The Histogram type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBucketCount
Gets the number of buckets.
Public propertyDataCount
Gets the total number of datapoints in the histogram.
Public propertyItem
Gets the n'th bucket.
Public propertyLowerBound
Returns the lower bound of the histogram.
Public propertyUpperBound
Returns the upper bound of the histogram.
Top
Methods
  NameDescription
Public methodAddBucket
Adds a Bucket to the Histogram.
Public methodAddData(IEnumerableDouble)
Add a sequence of data point to the histogram. If the datapoint falls outside the range of the histogram, the lowerbound or upperbound will automatically adapt.
Public methodAddData(Double)
Add one data point to the histogram. If the datapoint falls outside the range of the histogram, the lowerbound or upperbound will automatically adapt.
Public methodGetBucketIndexOf
Returns the index in the Histogram of the Bucket that contains the value v.
Public methodGetBucketOf
Returns the Bucket that contains the value v.
Public methodToString
Prints the buckets contained in the Histogram.
(Overrides ObjectToString.)
Top
See Also