名前空間
変種

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

提供: cppreference.com
 
 
 
擬似乱数生成
一様ランダムビットジェネレータ
エンジンとエンジンアダプタ
非決定的なジェネレータ
分布
一様分布
ベルヌーイ分布
ポアソン分布
正規分布
標本分布
シードシーケンス
(C++11)
C のライブラリ
 
 
<tbody> </tbody>
template< class UIntType, size_t w, size_t n, size_t m, size_t r, UIntType a, size_t u, UIntType d, size_t s, UIntType b, size_t t, UIntType c, size_t l, UIntType f > bool operator==( const mersenne_twister_engine<UIntType,w,n,m,r,a,u,d,s,b,t,c,l,f>& lhs, const mersenne_twister_engine<UIntType,w,n,m,r,a,u,d,s,b,t,c,l,f>& rhs );
(1) (C++11以上)
template< class UIntType, size_t w, size_t n, size_t m, size_t r, UIntType a, size_t u, UIntType d, size_t s, UIntType b, size_t t, UIntType c, size_t l, UIntType f > bool operator!=( const mersenne_twister_engine<UIntType,w,n,m,r,a,u,d,s,b,t,c,l,f>& lhs, const mersenne_twister_engine<UIntType,w,n,m,r,a,u,d,s,b,t,c,l,f>& rhs );
(2) (C++11以上)

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

引数

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

戻り値

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

例外

(なし)