3.0.0
Freundlich's C++ toolkit
Classes | Functions
fcppt::random::distribution::parameters Namespace Reference

The namespace for all distribution parameters. More...

Classes

class  normal
 Parameters class for normal distributions. More...
 
class  uniform_int
 Parameters class for uniform int distributions. More...
 
struct  uniform_int_wrapper
 
class  uniform_real
 Parameters class for uniform real distributions. More...
 

Functions

template<typename Enum >
fcppt::random::distribution::parameters::uniform_int< Enum > make_uniform_enum ()
 
template<typename Distribution , typename Enum >
fcppt::random::distribution::parameters::uniform_int< Enum, Distribution > make_uniform_enum_advanced ()
 
template<typename Container >
fcppt::optional::object< fcppt::random::distribution::parameters::uniform_int< typename Container::size_type, fcppt::random::distribution::parameters::uniform_int_wrapper >> make_uniform_indices (Container const &_container)
 
template<typename Distribution , typename Container >
fcppt::optional::object< fcppt::random::distribution::parameters::uniform_int< typename Container::size_type, Distribution >> make_uniform_indices_advanced (Container const &_container)
 

Detailed Description

The namespace for all distribution parameters.

Function Documentation

◆ make_uniform_enum()

template<typename Enum >
fcppt::random::distribution::parameters::uniform_int< Enum> fcppt::random::distribution::parameters::make_uniform_enum ( )
inline

◆ make_uniform_enum_advanced()

template<typename Distribution , typename Enum >
fcppt::random::distribution::parameters::uniform_int< Enum, Distribution> fcppt::random::distribution::parameters::make_uniform_enum_advanced ( )

◆ make_uniform_indices()

template<typename Container >
fcppt::optional::object< fcppt::random::distribution::parameters::uniform_int< typename Container::size_type, fcppt::random::distribution::parameters::uniform_int_wrapper >> fcppt::random::distribution::parameters::make_uniform_indices ( Container const &  _container)

◆ make_uniform_indices_advanced()

template<typename Distribution , typename Container >
fcppt::optional::object< fcppt::random::distribution::parameters::uniform_int< typename Container::size_type, Distribution >> fcppt::random::distribution::parameters::make_uniform_indices_advanced ( Container const &  _container)