You are here: Start » AVL.NET » Function Reference » Histogram » Histogram Data Statistics » AVL.HistogramDataNthValue

AVL.HistogramDataNthValue

Computes nth smallest (or largest) value of the histogrammed numeric data.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void HistogramDataNthValue
(
	AvlNet.Histogram inHistogram,
	double inN,
	AvlNet.SortingOrder inSortingOrder,
	out float outNthValue
)

Parameters

Name Type Range Default Description
inHistogramAvlNet.HistogramInput histogram.
inNdouble
inSortingOrderAvlNet.SortingOrder
outNthValuefloatNth smallest (or largest) value of the histogrammed data.

Errors

List of possible exceptions:

Error type Description
DomainError Input histogram contains negative bins in HistogramDataNthValue.
DomainError Selected N exceeds index range in HistogramDataNthValue.

See also