Back to Aurora Vision Library website

You are here: Start » Function Reference » Histogram » Histogram Data Statistics » HistogramDataQuantile

HistogramDataQuantile


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Computes the specified quantile of the histogrammed numeric data.

Syntax

C++
C#
 
void avl::HistogramDataQuantile
(
	const avl::Histogram& inHistogram,
	const float inQuantilePoint,
	float& outQuantileValue
)

Parameters

Name Type Range Default Description
Input value inHistogram const Histogram& Input histogram
Input value inQuantilePoint const float 0.0 - 1.0 0.5f
Output value outQuantileValue float&

Errors

List of possible exceptions:

Error type Description
DomainError Empty histogram on input in HistogramDataQuantile.
DomainError Input histogram contains negative bins or its data is empty in HistogramDataQuantile.

See Also