| Histogram Class |
Namespace: MathNet.Numerics.Statistics
[SerializableAttribute] public class Histogram
The Histogram type exposes the following members.
| Name | Description | |
|---|---|---|
| Histogram |
Initializes a new instance of the Histogram class.
| |
| Histogram(IEnumerableDouble, Int32) |
Constructs a Histogram with a specific number of equally sized buckets. The upper and lower bound of the histogram
will be set to the smallest and largest datapoint.
| |
| Histogram(IEnumerableDouble, Int32, Double, Double) |
Constructs a Histogram with a specific number of equally sized buckets.
|
| Name | Description | |
|---|---|---|
| BucketCount |
Gets the number of buckets.
| |
| DataCount |
Gets the total number of datapoints in the histogram.
| |
| Item |
Gets the n'th bucket.
| |
| LowerBound |
Returns the lower bound of the histogram.
| |
| UpperBound |
Returns the upper bound of the histogram.
|
| Name | Description | |
|---|---|---|
| AddBucket |
Adds a Bucket to the Histogram.
| |
| AddData(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.
| |
| AddData(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.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetBucketIndexOf |
Returns the index in the Histogram of the Bucket
that contains the value v.
| |
| GetBucketOf |
Returns the Bucket that contains the value v.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString |
Prints the buckets contained in the Histogram.
(Overrides ObjectToString.) |