You are here: Start » AVL.NET » Function Reference » Histogram » Histogram Combinators » AVL.DivideHistograms

AVL.DivideHistograms

Divides two histograms bar by bar.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void DivideHistograms
(
	AvlNet.Histogram inHistogram1,
	AvlNet.Histogram inHistogram2,
	AvlNet.Histogram outHistogram
)

Parameters

Name Type Range Default Description
inHistogram1AvlNet.HistogramInput histogram1.
inHistogram2AvlNet.HistogramInput histogram2.
outHistogramAvlNet.HistogramOutput histogram.

Description

The operation computes the quotient of two histograms. That is, each bin of the resulting histogram equals the quotient of corresponding bins of the input histograms.

Errors

List of possible exceptions:

Error type Description
DomainError Input histograms formats are not the same in DivideHistograms.
DomainError One of inHistogram2 bins equals zero in DivideHistograms.

See also