C# Class Redzen.Numerics.HistogramData

Histogram data. Frequency counts arranged into bins..
Afficher le fichier Open project: colgreen/Redzen

Méthodes publiques

Méthode Description
GetBucketIndex ( double x ) : int

Gets the index of the bucket that covers the specified x value. Throws an exception if x is outside the range of represented by the distribution buckets.

HistogramData ( double min, double max, double increment, int frequencyArr ) : System

Construct with the provided frequency distribution data.

Method Details

GetBucketIndex() public méthode

Gets the index of the bucket that covers the specified x value. Throws an exception if x is outside the range of represented by the distribution buckets.
public GetBucketIndex ( double x ) : int
x double
Résultat int

HistogramData() public méthode

Construct with the provided frequency distribution data.
public HistogramData ( double min, double max, double increment, int frequencyArr ) : System
min double The minimum value in the data series the distribution represents.
max double The maximum value in the data series the distribution represents.
increment double The range of a single category bucket.
frequencyArr int The array of category frequency counts.
Résultat System