operator==,!=(std::piecewise_linear_distribution)
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| template< class ResultType > bool operator==( const piecewise_linear_distribution<ResultType>& lhs, |
(1) | |
| template< class ResultType > bool operator!=( const piecewise_linear_distribution<ResultType>& lhs, |
(2) | |
比較兩個分布對象。兩種分配對象時,參數值和內部狀態是一樣的,都是平等的.
1) Original:
Compares two distribution objects. Two distribution objects are equal when parameter values and internal state is the same.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
比較兩個分布對象是否相等.
2) Original:
Compares two distribution objects for equality.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
比較兩個分布不平等的對象.....
Original:
Compares two distribution objects for inequality.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 參數
| lhs, rhs | - | 分布要比較的對象
Original: distribution objects to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 返回值
1)true的分配對象是相等的,false其他方式
2) Original:
true if the distribution objects are equal, false otherwise
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
true的分配對象,如果不相等,false否則
Original:
true if the distribution objects are not equal, false otherwise
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 複雜性
恆定
Original:
Constant.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.