Skip to content

Commit c1b7539

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 819b448 commit c1b7539

13 files changed

Lines changed: 471 additions & 1159 deletions

reference/random/binomial_distribution.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-10-22T16:15:43">
192-
2025年10月22日 16時15分43秒
191+
<span itemprop="datePublished" content="2026-05-18T04:21:35">
192+
2026年05月18日 04時21分35秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -229,7 +229,7 @@ <h2>概要</h2>
229229
</ul>
230230
<p>テンプレートパラメータは、以下を意味する:</p>
231231
<ul>
232-
<li><code>IntType</code> : 成功した回数を表す整数型。</li>
232+
<li><code>IntType</code> : 成功した回数を表す整数型。標準の符号付き/符号なし整数型 (<code>signed char</code><code>unsigned char</code>を含む) 、拡張整数型 (ビット幅が<code>char</code>以上<code>long long</code>以下) 、または<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>のサブセットの整数型でなければならない。</li>
233233
</ul>
234234
<h2>メンバ関数</h2>
235235
<h3>構築・リセット</h3>
@@ -405,6 +405,10 @@ <h3>処理系</h3>
405405
<h2>参照</h2>
406406
<ul>
407407
<li><a href="https://ja.wikipedia.org/wiki/二項分布" target="_blank">二項分布 - Wikipedia</a></li>
408+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2026/p4037r1.html" target="_blank">P4037R1 Supporting <code>signed char</code> and <code>unsigned char</code> in random number generation</a><ul>
409+
<li><code>IntType</code>テンプレートパラメータに<code>signed char</code><code>unsigned char</code>を指定できるようになった。この仕様はC++26から導入されたが、仕様の欠陥を修正したものであるためコンパイラは早期に対応している場合がある</li>
410+
</ul>
411+
</li>
408412
</ul></div>
409413

410414
</div>

reference/random/discrete_distribution.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-10-22T16:15:43">
192-
2025年10月22日 16時15分43秒
191+
<span itemprop="datePublished" content="2026-05-18T04:21:35">
192+
2026年05月18日 04時21分35秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -224,7 +224,7 @@ <h2>概要</h2>
224224
<p>この分布クラスは、コンストラクタで指定された確率列に基いて値を分布させる。その結果として、確率列から選択された、0から始まるインデックスを返す。</p>
225225
<p>テンプレートパラメータは、以下を意味する。</p>
226226
<ul>
227-
<li><code>IntType</code> : 分布結果として返される、0から始まるインデックス値の整数型。負の値が返されることはないため、符号なし整数型を指定してもよい。デフォルトは<code>int</code></li>
227+
<li><code>IntType</code> : 分布結果として返される、0から始まるインデックス値の整数型。負の値が返されることはないため、符号なし整数型を指定してもよい。デフォルトは<code>int</code>標準の符号付き/符号なし整数型 (<code>signed char</code><code>unsigned char</code>を含む) 、拡張整数型 (ビット幅が<code>char</code>以上<code>long long</code>以下) 、または<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>のサブセットの整数型でなければならない。</li>
228228
</ul>
229229
<h2>メンバ関数</h2>
230230
<h3>構築・リセット</h3>
@@ -420,6 +420,10 @@ <h2>参照</h2>
420420
<li><a href="https://en.wikipedia.org/wiki/Pseudo-random_number_sampling" target="_blank">Pseudo-random number sampling - Wikipedia</a></li>
421421
<li><a href="https://en.wikipedia.org/wiki/Alias_method" target="_blank">Alias Method - Wikipedia</a></li>
422422
<li><a href="http://d.hatena.ne.jp/arupaka-_-arupaka/20100508/1273319666" target="_blank">一般の離散分布の従う乱数の発生させる方法 - arupaka-_-arupakaの日記</a></li>
423+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2026/p4037r1.html" target="_blank">P4037R1 Supporting <code>signed char</code> and <code>unsigned char</code> in random number generation</a><ul>
424+
<li><code>IntType</code>テンプレートパラメータに<code>signed char</code><code>unsigned char</code>を指定できるようになった。この仕様はC++26から導入されたが、仕様の欠陥を修正したものであるためコンパイラは早期に対応している場合がある</li>
425+
</ul>
426+
</li>
423427
</ul></div>
424428

425429
</div>

reference/random/geometric_distribution.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-10-22T16:15:43">
192-
2025年10月22日 16時15分43秒
191+
<span itemprop="datePublished" content="2026-05-18T04:21:35">
192+
2026年05月18日 04時21分35秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -230,7 +230,7 @@ <h2>概要</h2>
230230
</ul>
231231
<p>テンプレートパラメータは、以下を意味する:</p>
232232
<ul>
233-
<li><code>IntType</code> : 成功回を表す整数型。</li>
233+
<li><code>IntType</code> : 成功回を表す整数型。標準の符号付き/符号なし整数型 (<code>signed char</code><code>unsigned char</code>を含む) 、拡張整数型 (ビット幅が<code>char</code>以上<code>long long</code>以下) 、または<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>のサブセットの整数型でなければならない。</li>
234234
</ul>
235235
<h2>メンバ関数</h2>
236236
<h3>構築・リセット</h3>
@@ -401,6 +401,10 @@ <h3>処理系</h3>
401401
<h2>参照</h2>
402402
<ul>
403403
<li><a href="https://ja.wikipedia.org/wiki/幾何分布" target="_blank">幾何分布 - Wikipedia</a></li>
404+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2026/p4037r1.html" target="_blank">P4037R1 Supporting <code>signed char</code> and <code>unsigned char</code> in random number generation</a><ul>
405+
<li><code>IntType</code>テンプレートパラメータに<code>signed char</code><code>unsigned char</code>を指定できるようになった。この仕様はC++26から導入されたが、仕様の欠陥を修正したものであるためコンパイラは早期に対応している場合がある</li>
406+
</ul>
407+
</li>
404408
</ul></div>
405409

406410
</div>

reference/random/independent_bits_engine.html

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,12 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-07-11T17:16:44">
192-
2025年07月11日 17時16分44秒
191+
<span itemprop="datePublished" content="2026-05-18T04:21:35">
192+
2026年05月18日 04時21分35秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Koichi Murase</span>
196+
<span itemprop="name">Akira Takahashi</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -225,7 +225,7 @@ <h2>概要</h2>
225225
<p>テンプレートパラメータは、以下を意味する:</p>
226226
<ul>
227227
<li><code>W</code> : 生成させる整数のビット数</li>
228-
<li><code>UIntType</code> : 生成させる符号なし整数型</li>
228+
<li><code>UIntType</code> : 生成させる符号なし整数型。標準もしくは拡張の符号なし整数型 (ビット幅が<code>short</code>以上<code>long long</code>以下) 、または<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>のサブセットの符号なし整数型でなければならない。</li>
229229
</ul>
230230
<h2>要件</h2>
231231
<p><code>W &gt; 0</code>かつ<code>W &lt;= <a href="../limits/numeric_limits.html">numeric_limits</a>&lt;UIntType&gt;::<a href="../limits/numeric_limits/digits.html">digits</a></code>であること。</p>
@@ -409,6 +409,13 @@ <h3>処理系</h3>
409409
<li><a href="../../implementation.html#gcc">GCC</a>: 4.7.2 <span aria-label="検証済" role="img" title="検証済"></span></li>
410410
<li><a href="../../implementation.html#icc">ICC</a>: </li>
411411
<li><a href="../../implementation.html#visual_cpp">Visual C++</a>: </li>
412+
</ul>
413+
<h2>参照</h2>
414+
<ul>
415+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2026/p4037r1.html" target="_blank">P4037R1 Supporting <code>signed char</code> and <code>unsigned char</code> in random number generation</a><ul>
416+
<li><code>UIntType</code>テンプレートパラメータの要件が明文化された(拡張符号なし整数型および<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>のサブセットを許容)。この仕様はC++26から導入されたが、仕様の欠陥を修正したものであるためコンパイラは早期に対応している場合がある</li>
417+
</ul>
418+
</li>
412419
</ul></div>
413420

414421
</div>

reference/random/linear_congruential_engine.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@
204204

205205
<p class="text-right"><small>
206206
最終更新日時(UTC):
207-
<span itemprop="datePublished" content="2025-10-22T16:15:43">
208-
2025年10月22日 16時15分43秒
207+
<span itemprop="datePublished" content="2026-05-18T04:21:35">
208+
2026年05月18日 04時21分35秒
209209
</span>
210210
<br/>
211211
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -244,6 +244,7 @@ <h2>概要</h2>
244244
<p>$$x_{n+1}= (a \times x_n + c) \bmod m$$</p>
245245
<p>テンプレートパラメータの意味は以下の通り:</p>
246246
<ul>
247+
<li><code>UIntType</code>: 生成する符号なし整数の型。標準もしくは拡張の符号なし整数型 (ビット幅が<code>short</code>以上<code>long long</code>以下) 、または<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>のサブセットの符号なし整数型でなければならない。</li>
247248
<li><code>a</code>: 乗数。<code>m</code> が非 0 の場合 <code>a &lt; m</code> でなければならない。</li>
248249
<li><code>c</code>: 増分。<code>m</code> が非 0 の場合 <code>c &lt; m</code> でなければならない。</li>
249250
<li><code>m</code>: 法。0 の場合 <code><a href="../limits/numeric_limits.html">std::numeric_limits</a>&lt;result_type&gt;::<a href="../limits/numeric_limits/max.html">max()</a></code></li>
@@ -457,6 +458,13 @@ <h3>処理系</h3>
457458
<li><a href="../../implementation.html#gcc">GCC</a>: 4.7.2 <span aria-label="検証済" role="img" title="検証済"></span></li>
458459
<li><a href="../../implementation.html#icc">ICC</a>: </li>
459460
<li><a href="../../implementation.html#visual_cpp">Visual C++</a>: </li>
461+
</ul>
462+
<h2>参照</h2>
463+
<ul>
464+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2026/p4037r1.html" target="_blank">P4037R1 Supporting <code>signed char</code> and <code>unsigned char</code> in random number generation</a><ul>
465+
<li><code>UIntType</code>テンプレートパラメータの要件が明文化された(拡張符号なし整数型および<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>のサブセットを許容)。この仕様はC++26から導入されたが、仕様の欠陥を修正したものであるためコンパイラは早期に対応している場合がある</li>
466+
</ul>
467+
</li>
460468
</ul></div>
461469

462470
</div>

reference/random/mersenne_twister_engine.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-10-22T16:15:43">
192-
2025年10月22日 16時15分43秒
191+
<span itemprop="datePublished" content="2026-05-18T04:21:35">
192+
2026年05月18日 04時21分35秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -237,7 +237,7 @@ <h2>概要</h2>
237237
</ol>
238238
<p>テンプレートパラメータは、以下を意味する:</p>
239239
<ul>
240-
<li><code>UIntType</code> : 生成する符号なし整数の型。</li>
240+
<li><code>UIntType</code> : 生成する符号なし整数の型。標準もしくは拡張の符号なし整数型 (ビット幅が<code>short</code>以上<code>long long</code>以下) 、または<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>のサブセットの符号なし整数型でなければならない。</li>
241241
<li><code>w</code> : ワードサイズ。状態シーケンス内での各ワードのビット数。<code><a href="../limits/numeric_limits.html">numeric_limits</a>&lt;UIntType&gt;::<a href="../limits/numeric_limits/digits.html">digits</a></code>以下にするのがよい。</li>
242242
<li><code>n</code> : 状態のサイズ。状態シーケンスの要素数。生成される値が再発する程度を調整するための値。</li>
243243
<li><code>m</code> : シフトサイズ。各ひねり(twist)時にシーケンスから選択する他の値が、<code>m</code>要素離れるようにする。<code>n</code>より小さくするのがよい。</li>
@@ -520,6 +520,10 @@ <h2>参照</h2>
520520
<li><a href="http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/mt.html" target="_blank">Mersenne Twister Home Page</a></li>
521521
<li><a href="https://ja.wikipedia.org/wiki/メルセンヌ・ツイスタ" target="_blank">メルセンヌ・ツイスタ - Wikipedia</a></li>
522522
<li>GCC(libstdc++) 4.8以降では、<code>&lt;ext/random&gt;</code>ヘッダに、SSE最適化されたメルセンヌ・ツイスターである<code>simd_fast_mersenne_twister_engine</code>クラスが実装されている</li>
523+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2026/p4037r1.html" target="_blank">P4037R1 Supporting <code>signed char</code> and <code>unsigned char</code> in random number generation</a><ul>
524+
<li><code>UIntType</code>テンプレートパラメータの要件が明文化された(拡張符号なし整数型および<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>のサブセットを許容)。この仕様はC++26から導入されたが、仕様の欠陥を修正したものであるためコンパイラは早期に対応している場合がある</li>
525+
</ul>
526+
</li>
523527
</ul></div>
524528

525529
</div>

reference/random/negative_binomial_distribution.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-10-22T16:15:43">
192-
2025年10月22日 16時15分43秒
191+
<span itemprop="datePublished" content="2026-05-18T04:21:35">
192+
2026年05月18日 04時21分35秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -225,7 +225,7 @@ <h2>概要</h2>
225225
<p>負の二項分布は、実装によって「k回成功するまでに試行した回数を取得する」ものと、「k回成功するまでに失敗した回数を取得する」もの、2つのバリエーションが存在する。<code>std::negative_binomial_distribution</code>クラスは後者である。</p>
226226
<p>テンプレートパラメータは、以下を意味する:</p>
227227
<ul>
228-
<li><code>IntType</code> : 成功/失敗回数を表す整数型。</li>
228+
<li><code>IntType</code> : 成功/失敗回数を表す整数型。標準の符号付き/符号なし整数型 (<code>signed char</code><code>unsigned char</code>を含む) 、拡張整数型 (ビット幅が<code>char</code>以上<code>long long</code>以下) 、または<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>のサブセットの整数型でなければならない。</li>
229229
</ul>
230230
<h2>メンバ関数</h2>
231231
<h3>構築・リセット</h3>
@@ -401,6 +401,10 @@ <h3>処理系</h3>
401401
<h2>参照</h2>
402402
<ul>
403403
<li><a href="https://ja.wikipedia.org/wiki/負の二項分布" target="_blank">負の二項分布 - Wikipedia</a></li>
404+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2026/p4037r1.html" target="_blank">P4037R1 Supporting <code>signed char</code> and <code>unsigned char</code> in random number generation</a><ul>
405+
<li><code>IntType</code>テンプレートパラメータに<code>signed char</code><code>unsigned char</code>を指定できるようになった。この仕様はC++26から導入されたが、仕様の欠陥を修正したものであるためコンパイラは早期に対応している場合がある</li>
406+
</ul>
407+
</li>
404408
</ul></div>
405409

406410
</div>

reference/random/philox_engine.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@
204204

205205
<p class="text-right"><small>
206206
最終更新日時(UTC):
207-
<span itemprop="datePublished" content="2025-10-22T16:15:43">
208-
2025年10月22日 16時15分43秒
207+
<span itemprop="datePublished" content="2026-05-18T04:21:35">
208+
2026年05月18日 04時21分35秒
209209
</span>
210210
<br/>
211211
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -424,7 +424,7 @@ <h2>概要</h2>
424424
</ul>
425425
<h3>テンプレートパラメータ</h3>
426426
<ul>
427-
<li><code>UIntType</code> : 生成する符号なし整数の型。</li>
427+
<li><code>UIntType</code> : 生成する符号なし整数の型。標準もしくは拡張の符号なし整数型 (ビット幅が<code>short</code>以上<code>long long</code>以下) 、または<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>のサブセットの符号なし整数型でなければならない。</li>
428428
<li><code>w</code> : ワードサイズ。状態シーケンス内での各ワードのビット数</li>
429429
<li><code>n</code> : ワード数</li>
430430
<li><code>r</code> : ラウンド数</li>
@@ -712,6 +712,10 @@ <h2>参照</h2>
712712
<li>2011年に発表されたこの論文でPhilox乱数生成器が考案された</li>
713713
</ul>
714714
</li>
715+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2026/p4037r1.html" target="_blank">P4037R1 Supporting <code>signed char</code> and <code>unsigned char</code> in random number generation</a><ul>
716+
<li><code>UIntType</code>テンプレートパラメータの要件が明文化された(拡張符号なし整数型および<a class="cpprefjp-defined-word" data-desc="処理系定義の動作。処理系によって事前に定めた動作をする" href="../../implementation-compliance.html#dfn-implementation-defined-behavior">処理系定義</a>のサブセットを許容)。この仕様はC++26から導入されたが、仕様の欠陥を修正したものであるためコンパイラは早期に対応している場合がある</li>
717+
</ul>
718+
</li>
715719
</ul></div>
716720

717721
</div>

0 commit comments

Comments
 (0)