Histogram.GetBounds<T> Method

Gets an array containing the bounds of the bins in a Histogram.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static T[] GetBounds<T>(
	this Histogram<Interval<T>> histogram
)
where T : Object, IComparable<T>

Parameters

histogram  Histogram<Interval<T>>
 

Type Parameters

T

Return Value

T[]
An array of T.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Histogram<Interval<T>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

This method always returns a new array instance. It should not be used inside a loop.

See Also