operator==,!=(std::negative_binomial_distribution) (3) - Linux Manuals

operator==,!=(std::negative_binomial_distribution): operator==,!=(std::negative_binomial_distribution)

NAME

operator==,!=(std::negative_binomial_distribution) - operator==,!=(std::negative_binomial_distribution)

Synopsis


template< class ResultType >
bool operator==( const negative_binomial_distribution<ResultType>& lhs, (1)
const negative_binomial_distribution<ResultType>& rhs );
template< class ResultType >
bool operator!=( const negative_binomial_distribution<ResultType>& lhs, (2)
const negative_binomial_distribution<ResultType>& rhs );


Compares two distribution objects. Two distribution objects are equal when parameter values and internal state is the same.
1) Compares two distribution objects for equality.
2) Compares two distribution objects for inequality.

Parameters


lhs, rhs - distribution objects to compare

Return value


1) true if the distribution objects are equal, false otherwise
2) true if the distribution objects are not equal, false otherwise

Complexity


Constant.