Compares two distributions for equality.

Synopsis

Declared in <absl/random/discrete_distribution.h>

bool
operator==(
    discrete_distribution const& a,
    discrete_distribution const& b);

Return Value

true if the distributions have equal parameter sets.

Parameters

Name

Description

a

The first distribution to compare.

b

The second distribution to compare.

Created with MrDocs