名前空間
変種
操作

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

提供: cppreference.com
 
 
 
擬似乱数生成
エンジンとエンジンアダプタ
Original:
Engines and engine adaptors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ジェネレータ
Original:
Generators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ディストリビューション
Original:
Distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
一様分布
Original:
Uniform distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ベルヌーイ分布
Original:
Bernoulli distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ポアソン分布
Original:
Poisson distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
正規分布
Original:
Normal distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
サンプリング分布
Original:
Sampling distributions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
シードシーケンス
Original:
Seed Sequences
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Cライブラリ
Original:
C library
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
 
template< class UIntType, size_t w, size_t s, size_t r >

bool operator==( const subtract_with_carry_engine<UIntType,w,s,r>& lhs,

                 const subtract_with_carry_engine<UIntType,w,s,r>& rhs );
(1) (C++11およびそれ以降)
template< class UIntType, size_t w, size_t s, size_t r >

bool operator!=( const subtract_with_carry_engine<UIntType,w,s,r>& lhs,

                 const subtract_with_carry_engine<UIntType,w,s,r>& rhs );
(2) (C++11およびそれ以降)

2つの乱数エンジンを比較します。 2つのエンジンの内部状態が等しい場合、つまり、 operator() の任意の回数の呼び出しに対して同等な値を生成するであろう場合、2つのエンジンは等しくなります。

[編集] 引数

lhs, rhs - 比較するエンジン

[編集] 戻り値

1) エンジンが同等な場合は true、そうでなければ false
2) エンジンが同等でない場合は true、そうでなければ false

[編集] 例外

(なし)