Histogram Class

Contains methods for creating and working with histograms.

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static class Histogram
Inheritance
Object  →  Histogram

Methods

Create<T> Creates a new histogram.
CreateEmpty(Int32, Int32) Returns an empty histogram using the specified bin arrangement.
CreateEmpty<T>(Index<T>) Returns a histogram of a vector using the specified bin arrangement.
CreateEmpty<T>(IList<T>, SpecialBins) Returns an empty histogram using the specified bin arrangement.
CreateEmpty<T>(T, T, Int32) Returns an empty histogram using the specified bin arrangement.
CreateHistogram(ICategoricalVector) Returns a histogram of the counts for each value in a vector.
CreateHistogram<T>(CategoricalVector<T>) Returns a new histogram of the counts for each value in a vector.
CreateHistogram<T>(CategoricalVector<T>, Vector<Double>) Returns a new histogram of the counts for each value in a vector.
CreateHistogram<T>(IList<T>, IntervalIndex<T>) Returns a histogram of a vector using the specified bin arrangement.
CreateHistogram<T>(IList<T>, IntervalIndex<T>, IList<Double>) Returns a histogram of a vector using the specified bin arrangement.
CreateHistogram<T>(IList<T>, T, T, Int32, SpecialBins) Returns a histogram of a vector using the specified bin arrangement.
CreateHistogram<T>(Vector<T>, T, T, Int32, Vector<Double>) Returns a histogram of a vector using the specified bin arrangement.
CreateHistogram2D(ICategoricalVector, ICategoricalVector) Returns a two-dimensional histogram of the values in two categorical vectors.
CreateHistogram2D(ICategoricalVector, ICategoricalVector, Vector<Double>) Returns a two-dimensional histogram of the values in two categorical vectors.
CreateHistogram2D<T, U>(Vector<T>, IntervalIndex<T>, Vector<U>, IntervalIndex<U>) Returns a two-dimensional histogram of the values in two vectors.
CreateHistogram2D<T, U>(Vector<T>, IntervalIndex<T>, Vector<U>, IntervalIndex<U>, Vector<Double>) Returns a two-dimensional histogram of the values in two vectors.
FindBin<T> Finds the interval that contains the given value.
GetBounds<T> Gets an array containing the bounds of the bins in a Histogram.
Increment<T>(Histogram<T>, T) Increments a bin of a histogram by 1.
Increment<T>(Histogram<Interval<T>>, T) Increments the bin of a histogram that contains the specified value by 1.
Increment<T>(Histogram<T>, T, Double) Increments a bin of a histogram by the specified amount.
Increment<T>(Histogram<Interval<T>>, T, Double) Increments a bin of a histogram whose range contains a value by the specified amount.
Tabulate<T>(Histogram<T>, IEnumerable<T>) Enters data from a sequence of values into a histogram.
Tabulate<T>(Histogram<Interval<T>>, IEnumerable<T>) Enters data from a sequence of values into a histogram.
Tabulate<T>(Histogram<T>, IList<T>, IList<Double>) Enters data from a list of values into a histogram using the specified weights.
Tabulate<T>(Histogram<Interval<T>>, IList<T>, IList<Double>) Enters data from a list of values into a histogram using the specified weights.
TryFindBin<T> Tries to find the interval that contains the given value.

See Also