operators (std::exponential_distribution)

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

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.

doc_CPP
2016-10-11 09:59:34
Comments
Leave a Comment

Please login to continue.