From Jason Turner

[rand.dist.pois.weibull]

Diff to HTML by rtfpessoa

tmp/tmpq3_u1xul/{from.md → to.md} RENAMED
@@ -9,27 +9,26 @@ $$%
9
  \cdot \, \exp\left( -\left(\frac{x}{b}\right)^a\right)
10
  \; \mbox{.}$$
11
 
12
  ``` cpp
13
  template<class RealType = double>
14
- class weibull_distribution
15
- {
16
  public:
17
  // types
18
- typedef RealType result_type;
19
- typedef unspecified param_type;
20
 
21
  // constructor and reset functions
22
  explicit weibull_distribution(RealType a = 1.0, RealType b = 1.0);
23
  explicit weibull_distribution(const param_type& parm);
24
  void reset();
25
 
26
  // generating functions
27
- template<class URNG>
28
- result_type operator()(URNG& g);
29
- template<class URNG>
30
- result_type operator()(URNG& g, const param_type& parm);
31
 
32
  // property functions
33
  RealType a() const;
34
  RealType b() const;
35
  param_type param() const;
 
9
  \cdot \, \exp\left( -\left(\frac{x}{b}\right)^a\right)
10
  \; \mbox{.}$$
11
 
12
  ``` cpp
13
  template<class RealType = double>
14
+ class weibull_distribution {
 
15
  public:
16
  // types
17
+ using result_type = RealType;
18
+ using param_type = unspecified;
19
 
20
  // constructor and reset functions
21
  explicit weibull_distribution(RealType a = 1.0, RealType b = 1.0);
22
  explicit weibull_distribution(const param_type& parm);
23
  void reset();
24
 
25
  // generating functions
26
+ template<class URBG>
27
+ result_type operator()(URBG& g);
28
+ template<class URBG>
29
+ result_type operator()(URBG& g, const param_type& parm);
30
 
31
  // property functions
32
  RealType a() const;
33
  RealType b() const;
34
  param_type param() const;