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) | |
比较两个分发对象。当参数值和内部状态相同时,两个分布对象是相等的。
1%29比较两个分发对象是否相等。
2%29比较两个分布对象的不平等。
参数
lhs, rhs | - | distribution objects to compare |
|---|
返回值
1%29true如果分发对象相等,false否则。
2%29true如果分发对象不相等,false否则。
复杂性
常量。
© cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

