Skip to content

mp_units::utility::operator==

Return true if two normal distributions have the same parameters and the sequences that would be generated are equal.

Synopsis

Declared in <mp-units/utility/random.h>

template<typename _RealType1>
bool operator==(normal_distribution const& __d1, normal_distribution const& __d2);

Note

This function is a hidden friend of normal_distribution, declared inside its base class normal_distribution: it can be found only through argument-dependent lookup.

Return Value

true if the objects are equal, false otherwise

Parameters

NameDescription
__d1The left operand
__d2The right operand