Skip to content

Commit deb086c

Browse files
authored
[func.wrap.func,rand] Index 'result_type'. (#3154)
1 parent fc24034 commit deb086c

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

source/numerics.tex

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2998,6 +2998,7 @@
29982998
is $\mathsf{GA}(\state{x}{i}) = \state{x}{i+1}$.
29992999

30003000
\indexlibrary{\idxcode{linear_congruential_engine}}%
3001+
\indexlibrarymember{result_type}{linear_congruential_engine}%
30013002
\begin{codeblock}
30023003
template<class UIntType, UIntType a, UIntType c, UIntType m>
30033004
class linear_congruential_engine {
@@ -3154,6 +3155,7 @@
31543155
\end{itemize}
31553156

31563157
\indexlibrary{\idxcode{mersenne_twister_engine}}%
3158+
\indexlibrarymember{result_type}{mersenne_twister_engine}%
31573159
\begin{codeblock}
31583160
template<class UIntType, size_t w, size_t n, size_t m, size_t r,
31593161
UIntType a, size_t u, UIntType d, size_t s,
@@ -3325,6 +3327,7 @@
33253327
of advancing the engine's state as described above.
33263328

33273329
\indexlibrary{\idxcode{subtract_with_carry_engine}}%
3330+
\indexlibrarymember{result_type}{subtract_with_carry_engine}%
33283331
\begin{codeblock}
33293332
template<class UIntType, size_t w, size_t s, size_t r>
33303333
class subtract_with_carry_engine {
@@ -3525,6 +3528,7 @@
35253528
while advancing \tcode{e}'s state as described above.
35263529

35273530
\indexlibrary{\idxcode{discard_block_engine}}%
3531+
\indexlibrarymember{result_type}{discard_block_engine}%
35283532
\begin{codeblock}
35293533
template<class Engine, size_t p, size_t r>
35303534
class discard_block_engine {
@@ -3672,6 +3676,7 @@
36723676
\end{codeblock}
36733677

36743678
\indexlibrary{\idxcode{independent_bits_engine}}%
3679+
\indexlibrarymember{result_type}{independent_bits_engine}%
36753680
\begin{codeblock}
36763681
template<class Engine, size_t w, class UIntType>
36773682
class independent_bits_engine {
@@ -3771,6 +3776,7 @@
37713776
produced while advancing \tcode{e}'s state as described above.
37723777

37733778
\indexlibrary{\idxcode{shuffle_order_engine}}%
3779+
\indexlibrarymember{result_type}{shuffle_order_engine}%
37743780
\begin{codeblock}
37753781
template<class Engine, size_t k>
37763782
class shuffle_order_engine {
@@ -4045,6 +4051,7 @@
40454051
the implementation may employ a random number engine.
40464052

40474053
\indexlibrary{\idxcode{random_device}}%
4054+
\indexlibrarymember{result_type}{random_device}%
40484055
\begin{codeblock}
40494056
class random_device {
40504057
public:
@@ -4151,6 +4158,7 @@
41514158
\rSec3[rand.util.seedseq]{Class \tcode{seed_seq}}%
41524159

41534160
\indexlibrary{\idxcode{seed_seq}}%
4161+
\indexlibrarymember{result_type}{seed_seq}%
41544162
\begin{codeblock}
41554163
class seed_seq {
41564164
public:
@@ -4510,6 +4518,7 @@
45104518
\[ P(i\,|\,a,b) = 1 / (b - a + 1) \text{ .} \]
45114519

45124520
\indexlibrary{\idxcode{uniform_int_distribution}}%
4521+
\indexlibrarymember{result_type}{uniform_int_distribution}%
45134522
\begin{codeblock}
45144523
template<class IntType = int>
45154524
class uniform_int_distribution {
@@ -4596,6 +4605,7 @@
45964605
\end{note}
45974606

45984607
\indexlibrary{\idxcode{uniform_real_distribution}}%
4608+
\indexlibrarymember{result_type}{uniform_real_distribution}%
45994609
\begin{codeblock}
46004610
template<class RealType = double>
46014611
class uniform_real_distribution {
@@ -4697,6 +4707,7 @@
46974707
\]
46984708

46994709
\indexlibrary{\idxcode{bernoulli_distribution}}%
4710+
\indexlibrarymember{result_type}{bernoulli_distribution}%
47004711
\begin{codeblock}
47014712
class bernoulli_distribution {
47024713
public:
@@ -4767,6 +4778,7 @@
47674778
\[ P(i\,|\,t,p) = \binom{t}{i} \cdot p^i \cdot (1-p)^{t-i} \text{ .} \]
47684779

47694780
\indexlibrary{\idxcode{binomial_distribution}}%
4781+
\indexlibrarymember{result_type}{binomial_distribution}%
47704782
\begin{codeblock}
47714783
template<class IntType = int>
47724784
class binomial_distribution {
@@ -4848,6 +4860,7 @@
48484860
\[ P(i\,|\,p) = p \cdot (1-p)^{i} \text{ .} \]
48494861

48504862
\indexlibrary{\idxcode{geometric_distribution}}%
4863+
\indexlibrarymember{result_type}{geometric_distribution}%
48514864
\begin{codeblock}
48524865
template<class IntType = int>
48534866
class geometric_distribution {
@@ -4923,6 +4936,7 @@
49234936
\end{note}
49244937

49254938
\indexlibrary{\idxcode{negative_binomial_distribution}}%
4939+
\indexlibrarymember{result_type}{negative_binomial_distribution}%
49264940
\begin{codeblock}
49274941
template<class IntType = int>
49284942
class negative_binomial_distribution {
@@ -5024,6 +5038,7 @@
50245038
.
50255039

50265040
\indexlibrary{\idxcode{poisson_distribution}}%
5041+
\indexlibrarymember{result_type}{poisson_distribution}%
50275042
\begin{codeblock}
50285043
template<class IntType = int>
50295044
class poisson_distribution
@@ -5095,6 +5110,7 @@
50955110
\[ p(x\,|\,\lambda) = \lambda e^{-\lambda x} \text{ .} \]
50965111

50975112
\indexlibrary{\idxcode{exponential_distribution}}%
5113+
\indexlibrarymember{result_type}{exponential_distribution}%
50985114
\begin{codeblock}
50995115
template<class RealType = double>
51005116
class exponential_distribution {
@@ -5168,6 +5184,7 @@
51685184
\text{ .} \]
51695185

51705186
\indexlibrary{\idxcode{gamma_distribution}}%
5187+
\indexlibrarymember{result_type}{gamma_distribution}%
51715188
\begin{codeblock}
51725189
template<class RealType = double>
51735190
class gamma_distribution {
@@ -5255,6 +5272,7 @@
52555272
\text{ .} \]
52565273

52575274
\indexlibrary{\idxcode{weibull_distribution}}%
5275+
\indexlibrarymember{result_type}{weibull_distribution}%
52585276
\begin{codeblock}
52595277
template<class RealType = double>
52605278
class weibull_distribution {
@@ -5347,6 +5365,7 @@
53475365
\text{ .} \]
53485366

53495367
\indexlibrary{\idxcode{extreme_value_distribution}}%
5368+
\indexlibrarymember{result_type}{extreme_value_distribution}%
53505369
\begin{codeblock}
53515370
template<class RealType = double>
53525371
class extreme_value_distribution {
@@ -5461,6 +5480,7 @@
54615480
.
54625481

54635482
\indexlibrary{\idxcode{normal_distribution}}%
5483+
\indexlibrarymember{result_type}{normal_distribution}%
54645484
\begin{codeblock}
54655485
template<class RealType = double>
54665486
class normal_distribution {
@@ -5547,6 +5567,7 @@
55475567
\text{ .} \]
55485568

55495569
\indexlibrary{\idxcode{lognormal_distribution}}%
5570+
\indexlibrarymember{result_type}{lognormal_distribution}%
55505571
\begin{codeblock}
55515572
template<class RealType = double>
55525573
class lognormal_distribution {
@@ -5631,6 +5652,7 @@
56315652
\[ p(x\,|\,n) = \frac{x^{(n/2)-1} \cdot e^{-x/2}}{\Gamma(n/2) \cdot 2^{n/2}} \text{ .} \]
56325653

56335654
\indexlibrary{\idxcode{chi_squared_distribution}}%
5655+
\indexlibrarymember{result_type}{chi_squared_distribution}%
56345656
\begin{codeblock}
56355657
template<class RealType = double>
56365658
class chi_squared_distribution {
@@ -5703,6 +5725,7 @@
57035725
\[ p(x\,|\,a,b) = \left(\pi b \left(1 + \left(\frac{x-a}{b} \right)^2 \, \right)\right)^{-1} \text{ .} \]
57045726

57055727
\indexlibrary{\idxcode{cauchy_distribution}}%
5728+
\indexlibrarymember{result_type}{cauchy_distribution}%
57065729
\begin{codeblock}
57075730
template<class RealType = double>
57085731
class cauchy_distribution {
@@ -5791,6 +5814,7 @@
57915814
\text{ .} \]
57925815

57935816
\indexlibrary{\idxcode{fisher_f_distribution}}%
5817+
\indexlibrarymember{result_type}{fisher_distribution}%
57945818
\begin{codeblock}
57955819
template<class RealType = double>
57965820
class fisher_f_distribution {
@@ -5878,6 +5902,7 @@
58785902
\text{ .} \]
58795903

58805904
\indexlibrary{\idxcode{student_t_distribution}}%
5905+
\indexlibrarymember{result_type}{student_t_distribution}%
58815906
\begin{codeblock}
58825907
template<class RealType = double>
58835908
class student_t_distribution {
@@ -5976,6 +6001,7 @@
59766001
$0 < S = w_0 + \dotsb + w_{n - 1}$.
59776002

59786003
\indexlibrary{\idxcode{discrete_distribution}}%
6004+
\indexlibrarymember{result_type}{discrete_distribution}%
59796005
\begin{codeblock}
59806006
template<class IntType = int>
59816007
class discrete_distribution {
@@ -6143,6 +6169,7 @@
61436169
$0 < S = w_0 + \dotsb + w_{n-1}$.
61446170

61456171
\indexlibrary{\idxcode{piecewise_constant_distribution}}%
6172+
\indexlibrarymember{result_type}{piecewise_constant_distribution}%
61466173
\begin{codeblock}
61476174
template<class RealType = double>
61486175
class piecewise_constant_distribution {
@@ -6357,6 +6384,7 @@
63576384
\[ 0 < S = \frac{1}{2} \cdot \sum_{k=0}^{n-1} (w_k + w_{k+1}) \cdot (b_{k+1} - b_k) \text{ .} \]
63586385

63596386
\indexlibrary{\idxcode{piecewise_linear_distribution}}%
6387+
\indexlibrarymember{result_type}{piecewise_linear_distribution}%
63606388
\begin{codeblock}
63616389
template<class RealType = double>
63626390
class piecewise_linear_distribution {

source/utilities.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15483,6 +15483,7 @@
1548315483
\rSec3[func.wrap.func]{Class template \tcode{function}}
1548415484
\indexlibrary{\idxcode{function}}%
1548515485

15486+
\indexlibrarymember{result_type}{function}%
1548615487
\begin{codeblock}
1548715488
namespace std {
1548815489
template<class> class function; // not defined

0 commit comments

Comments
 (0)