This topic has not yet been rated - Rate this topic

exponential_distribution::param_type

Stores the parameters of the distribution.

struct param_type {
    typedef exponential_distribution<RealType> distribution_type;
    param_type(result_type lambda0 = result_type(1.0));
    result_type lambda() const;
    .....
    bool operator==(const param_type& right) const;
    bool operator!=(const param_type& right) const;
    };

This parameter package can be passed to operator() to generate the return value.

Header: <random>

Namespace: std

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.