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