Namespaces

Types

Type Histogram

Namespace MathNet.Numerics.Statistics

Methods

Properties

Public instance methods

void Add(Bucket bucket)

Adds a Bucket to the Histogram.
Parameters
Bucket bucket

bool Equals(object obj)

Parameters
return bool
object obj

int GetContainerIndexOf(double v)

Returns the index in the Histogram of the Bucketthat contains the value v.
Parameters
return int
double v

Bucket GetContainerOf(double v)

Returns the Bucket that contains the value v.
Parameters
return Bucket
double v

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

void JoinBuckets()

Joins the boundaries of the successive buckets.

void Sort()

Sort the buckets.

string ToString()

Prints the buckets contained in the Histogram.
Parameters
return string

Public static methods

Histogram OptimalDispersion(int bucketCount, ICollection distribution)

Returns the optimal dispersion histogram.
Parameters
return Histogram
int bucketCount
ICollection distribution

Histogram OptimalFreedom(int bucketCount, ICollection distribution)

Returns the optimal freedom histogram.
Parameters
return Histogram
int bucketCount
ICollection distribution

Histogram OptimalSquaredFreedom(int histSize, ICollection distribution)

Returns the optimal squared freedom histogram.
Parameters
return Histogram
int histSize
ICollection distribution

Histogram OptimalVariance(int bucketCount, ICollection distribution)

Returns the optimal variance histogram.
Requires a computations time quadratic todistribution.Length.
Parameters
return Histogram
int bucketCount The number of buckets in the histogram.
ICollection distribution double elements expected.

Public properties

int Count get;

Gets the number of buckets.
return int

Bucket Item get; set;

Gets the Bucket indexed by index.
return Bucket

double TotalDepth get;

Gets the sum of the bucket depths.
return double