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.
| |
GetBucketIndexOf |
Returns the index in the Histogram of the Bucket
that contains the value v.
| |
GetBucketOf |
Returns the Bucket that contains the value v.
| |
ToString |
Prints the buckets contained in the Histogram.
(Overrides ObjectToString.) |