名前空間
変種
操作

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

提供: cppreference.com
< cpp‎ | numeric‎ | random‎ | independent bits engine
2013年7月2日 (火) 14:48時点におけるP12bot (トーク | 投稿記録)による版

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
 
 
 
擬似乱数生成
一様ランダムビットジェネレータ
エンジンとエンジンアダプタ
非決定的なジェネレータ
分布
一様分布
ベルヌーイ分布
ポアソン分布
正規分布
標本分布
シードシーケンス
(C++11)
C のライブラリ
 
 
template< class Engine, size_t w, class UIntType >

bool operator==( const independent_bits_engine<Engine,w,UIntType>& lhs,

                 const independent_bits_engine<Engine,w,UIntType>& rhs );
(1) (C++11以上)
template< class Engine, size_t w, class UIntType >

bool operator!=( const independent_bits_engine<Engine,w,UIntType>& lhs,

                 const independent_bits_engine<Engine,w,UIntType>& rhs );
(2) (C++11以上)

2つの擬似乱数エンジンアダプタ��比較します。 ベースとなるエンジンが等しく、内部状態 (もしあれば) が等しい場合、つまり、 operator() の任意の回数の呼び出しに対して同等な値を生成するであろう場合、2つのエンジンアダプタは等しくなります。

[編集] 引数

lhs, rhs - 比較するエンジンアダプタ

[編集] 戻り値

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

[編集] 例外

(なし)