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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Prints the buckets contained in the Histogram.
(Overrides ObjectToString.)
Top
See Also