std::poisson_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::poisson_distribution

Defined in header <random> template< class IntType = int > class poisson_distribution; (since C++11) Produces random non-negative integer values i, distributed according to discrete probability function: P(i|μ) = e-μ·μi i! The value obtained is the probability of exactly i occurrences of a random event if the expected, mean number of its occurrence under the same conditions (on the same time/space interval) is μ. std::poisson_distribution satisfies RandomNumberDist

std::poisson_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::poisson_distribution::poisson_distribution

explicit poisson_distribution( double mean = 1.0 ); (1) (since C++11) explicit poisson_distribution( const param_type& params ); (2) (since C++11) Constructs a new distribution object. The first version uses mean as the distribution parameter, the second version uses params as the distribution parameter. Parameters mean - the μ distribution parameter (the mean of the distribution) params - the distribution parameter set Notes Requires that 0 < mean.

std::poisson_distribution::param

param_type param() const; (1) (since C++11) void param( const param_type& params ); (2) (since C++11) Manages the associated distribution parameter set. 1) Returns the associated parameter set. 2) Sets the associated parameter set to params. Parameters params - new contents of the associated parameter set Return value 1) The associated parameter set. 2) (none). Complexity Constant.

std::poisson_distribution::mean

double mean() const; (since C++11) Returns the μ parameter the distribution was constructed with. The parameter defines mean number of occurrences of the event. The default value is 1.0. Parameters (none). Return value Floating point value identifying the μ distribution parameter. See also param gets or sets the distribution parameter object (public member function)

std::pointer_to_binary_function

template< class Arg1, class Arg2, class Result > class pointer_to_binary_function : public std::binary_function<Arg1, Arg2, Result>; (until C++17)(deprecated since C++11) std::pointer_to_binary_function is a function object that acts as a wrapper around a binary function. Member functions (constructor) constructs a new pointer_to_binary_function object with the supplied function (public member function) operator() calls the stored function (public me

std::pointer_safety

Defined in header <memory> enum class pointer_safety { relaxed, preferred, strict }; (since C++11) The scoped enumeration type pointer_safety lists the pointer safety modes supported by C++ Enumeration constants pointer_safety::strict Only safely-derived pointers (pointers to objects allocated with new or subobjects thereof) may be dereferenced or deallocated. Garbage collector may be active. pointer_safety::preferred All pointers are considered val

std::pointer_traits::pointer_to

Defined in header <memory> static pointer pointer_to( element_type& r ); (1) (since C++11) (member of pointer_traits<Ptr> specialization) static pointer pointer_to( element_type& r ); (2) (since C++11) (member of pointer_traits<T*> specialization) Constructs a dereferenceable pointer to its argument. 1) The version of this function in the non-specialized std::pointer_traits template simply calls Ptr::pointer_to(r), and if Ptr does not provide a st

std::pointer_traits

Defined in header <memory> template< class Ptr > struct pointer_traits; (1) (since C++11) template< class T > struct pointer_traits<T*>; (2) (since C++11) The pointer_traits class template provides the standardized way to access certain properties of pointer-like types. The standard template std::allocator_traits relies on pointer_traits to determine the defaults for various typedefs required by Allocator. 1) The non-specialized pointer_traits declar