std::binomial_distribution::p

double p() const; (1) (since C++11) IntType t() const; (2) (since C++11) Returns the parameters the distribution was constructed with. 1) Returns the p distribution parameter. It defines the probability of a trial generating true. The default value is 0.5. 2) Returns the t distribution parameter. It identifies the number of trials. The default value is 1. Parameters (none). Return value 1) The p distribution parameter. 2) The t distribution parameter. See also param

std::binomial_distribution::min

result_type min() const; (since C++11) Returns the minimum value potentially generated by the distribution. Parameters (none). Return value The minimum value potentially generated by the distribution. Complexity Constant. See also max returns the maximum potentially generated value (public member function)

std::binomial_distribution::max

result_type max() const; (since C++11) Returns the maximum value potentially generated by the distribution. Parameters (none). Return value The maximum value potentially generated by the distribution. Complexity Constant. See also min returns the minimum potentially generated value (public member function)

std::binomial_distribution::binomial_distribution

explicit binomial_distribution( IntType t = 1, double p = 0.5 ); (1) (since C++11) explicit binomial_distribution( const param_type& params ); (2) (since C++11) Constructs new distribution object. The first version uses t and p as the distribution parameters, the second version uses params as the distribution parameters. Parameters t - the t distribution parameter (number of trials) p - the p distribution parameter (probability of a trial generating true) param

std::binomial_distribution

Defined in header <random> template< class IntType = int > class binomial_distribution; (since C++11) Produces random non-negative integer values i, distributed according to discrete probability function: P(i|t,p) = ⎛⎜⎝ti⎞⎟⎠ · pi · (1 − p)t−i The value obtained is the number of successes in a sequence of t yes/no experiments, each of which succeeds with probability p. std::binomial_distribution satisfies RandomNumberDistribution. Template parameters IntType

std::binder1st

template< class Fn > class binder1st : public std::unary_function<typename Fn::second_argument_type, typename Fn::result_type> { protected: Fn op; typename Fn::first_argument_type value; public: binder1st(const Fn& fn, const typename Fn::first_argument_type& value); typename Fn::result_type operator()(const typename Fn::second_argument_type& x) const; typename Fn::result_t

std::bind1st

Defined in header <functional> template< class F, class T > std::binder1st<F> bind1st( const F& f, const T& x ); (1) (until C++17)(deprecated since C++11) template< class F, class T > std::binder2nd<F> bind2nd( const F& f, const T& x ); (2) (until C++17)(deprecated since C++11) Binds a given argument x to a first or second parameter of the given binary function object f. That is, stores x within the resulting wrapper, which, if

std::bind

Defined in header <functional> template< class F, class... Args > /*unspecified*/ bind( F&& f, Args&&... args ); (1) (since C++11) template< class R, class F, class... Args > /*unspecified*/ bind( F&& f, Args&&... args ); (2) (since C++11) The function template bind generates a forwarding call wrapper for f. Calling this wrapper is equivalent to invoking f with some of its arguments bound to args. Parameters f - Call

std::binary_search

Defined in header <algorithm> template< class ForwardIt, class T > bool binary_search( ForwardIt first, ForwardIt last, const T& value ); (1) template< class ForwardIt, class T, class Compare > bool binary_search( ForwardIt first, ForwardIt last, const T& value, Compare comp ); (2) Checks if an element equivalent to value appears within the range [first, last). For std::binary_search to succeed, the range [first, last) must be at least partially or

std::binary_negate

Defined in header <functional> template< class Predicate > struct binary_negate : public std::binary_function< Predicate::first_argument_type, Predicate::second_argument_type, bool >; (until C++11) template< class Predicate > struct binary_negate; (since C++11) binary_negate is a wrapper function object returning the complement of the binary predicate it holds. The binary predicate type must define two member types, fi