From Jason Turner

[rand.dist.norm.chisq]

Diff to HTML by rtfpessoa

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