geometric_distribution::param_type

Stores the parameters of the distribution.

struct param_type {
    typedef binomial_distribution<IntType, RealType> distribution_type;
    param_type(RealType p0 = RealType(0.5));
    RealType p() const;
    bool operator==(const param_type& right) const;
    bool operator!=(const param_type& right) const;
    };

Remarks

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

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

geometric_distribution Class

Other Resources

<random> Members