libstdc++
|
#include <random.h>
Public Types | |
typedef piecewise_constant_distribution< _RealType > | distribution_type |
Public Member Functions | |
template<typename _InputIteratorB , typename _InputIteratorW > | |
param_type (_InputIteratorB __bfirst, _InputIteratorB __bend, _InputIteratorW __wbegin) | |
param_type (const param_type &)=default | |
template<typename _Func > | |
param_type (initializer_list< _RealType > __bi, _Func __fw) | |
template<typename _Func > | |
param_type (size_t __nw, _RealType __xmin, _RealType __xmax, _Func __fw) | |
std::vector< double > | densities () const |
std::vector< _RealType > | intervals () const |
param_type & | operator= (const param_type &)=default |
Friends | |
bool | operator!= (const param_type &__p1, const param_type &__p2) |
bool | operator== (const param_type &__p1, const param_type &__p2) |
class | piecewise_constant_distribution< _RealType > |
Parameter type.
typedef piecewise_constant_distribution<_RealType> std::piecewise_constant_distribution< _RealType >::param_type::distribution_type |
|
inline |
std::piecewise_constant_distribution< _RealType >::param_type::param_type | ( | _InputIteratorB | __bfirst, |
_InputIteratorB | __bend, | ||
_InputIteratorW | __wbegin | ||
) |
Definition at line 2850 of file bits/random.tcc.
std::piecewise_constant_distribution< _RealType >::param_type::param_type | ( | initializer_list< _RealType > | __bi, |
_Func | __fw | ||
) |
Definition at line 2875 of file bits/random.tcc.
std::piecewise_constant_distribution< _RealType >::param_type::param_type | ( | size_t | __nw, |
_RealType | __xmin, | ||
_RealType | __xmax, | ||
_Func | __fw | ||
) |
Definition at line 2892 of file bits/random.tcc.
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |