The extreme value distribution is a real valued distribution with two parameters a and b. More...
#include <extreme_value_distribution.hpp>
Classes | |
class | param_type |
Public Types | |
typedef RealType | result_type |
typedef RealType | input_type |
Public Member Functions | |
extreme_value_distribution (RealType a_arg=1.0, RealType b_arg=1.0) | |
Constructs an extreme_value_distribution from its "a" and "b" parameters. More... | |
extreme_value_distribution (const param_type &parm) | |
Constructs an extreme_value_distribution from its parameters. More... | |
template<class URNG > | |
RealType | operator() (URNG &urng) const |
Returns a random variate distributed according to the extreme_value_distribution . More... | |
template<class URNG > | |
RealType | operator() (URNG &urng, const param_type &parm) const |
Returns a random variate distributed accordint to the extreme value distribution with parameters specified by param . More... | |
RealType | a () const |
Returns the "a" parameter of the distribution. More... | |
RealType | b () const |
Returns the "b" parameter of the distribution. More... | |
RealType min | BOOST_PREVENT_MACRO_SUBSTITUTION () const |
Returns the smallest value that the distribution can produce. More... | |
RealType max | BOOST_PREVENT_MACRO_SUBSTITUTION () const |
Returns the largest value that the distribution can produce. More... | |
param_type | param () const |
Returns the parameters of the distribution. More... | |
void | param (const param_type &parm) |
Sets the parameters of the distribution. More... | |
void | reset () |
Effects: Subsequent uses of the distribution do not depend on values produced by any engine prior to invoking reset. More... | |
BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR (os, extreme_value_distribution, wd) | |
Writes an extreme_value_distribution to a std::ostream . More... | |
BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR (is, extreme_value_distribution, wd) | |
Reads an extreme_value_distribution from a std::istream . More... | |
BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR (extreme_value_distribution, lhs, rhs) | |
Returns true if the two instances of extreme_value_distribution will return identical sequences of values given equal generators. More... | |
The extreme value distribution is a real valued distribution with two parameters a and b.
It has .
typedef RealType boost::random::extreme_value_distribution< RealType >::input_type |
typedef RealType boost::random::extreme_value_distribution< RealType >::result_type |
|
inlineexplicit |
Constructs an extreme_value_distribution
from its "a" and "b" parameters.
Requires: b > 0
Referenced by boost::random::extreme_value_distribution< RealType >::operator()().
|
inlineexplicit |
Constructs an extreme_value_distribution
from its parameters.
|
inline |
Returns the "a" parameter of the distribution.
|
inline |
Returns the "b" parameter of the distribution.
|
inline |
Returns the smallest value that the distribution can produce.
|
inline |
Returns the largest value that the distribution can produce.
|
inline |
Returns true if the two instances of extreme_value_distribution
will return identical sequences of values given equal generators.
|
inline |
Reads an extreme_value_distribution
from a std::istream
.
|
inline |
Writes an extreme_value_distribution
to a std::ostream
.
|
inline |
Returns a random variate distributed according to the extreme_value_distribution
.
References boost::math::ef::log().
|
inline |
Returns a random variate distributed accordint to the extreme value distribution with parameters specified by param
.
References boost::random::extreme_value_distribution< RealType >::extreme_value_distribution().
|
inline |
Returns the parameters of the distribution.
References boost::random::extreme_value_distribution< RealType >::param_type::param_type().
|
inline |
Sets the parameters of the distribution.
References boost::random::extreme_value_distribution< RealType >::param_type::a(), and boost::random::extreme_value_distribution< RealType >::param_type::b().
|
inline |
Effects: Subsequent uses of the distribution do not depend on values produced by any engine prior to invoking reset.