AGX Dynamics  2.35.0.1
agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist > Class Template Reference

#include <Random.h>

Public Types

typedef Dist distribution_type
 
typedef Generator engine_type
 
typedef Generator engine_value_type
 
typedef Dist::result_type result_type
 

Public Member Functions

 variate_generator (engine_type G0, distribution_type D0)
 
distribution_type & distribution ()
 
const distribution_type & distribution () const
 
engine_value_type & engine ()
 
const engine_value_type & engine () const
 
result_type max () const
 
result_type min () const
 
result_type operator() ()
 
template<class ValT >
result_type operator() (ValT value)
 

Detailed Description

template<typename T, template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator, class Dist>
class agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >

Definition at line 36 of file Random.h.

Member Typedef Documentation

◆ distribution_type

template<typename T , template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator , class Dist >
typedef Dist agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >::distribution_type

Definition at line 42 of file Random.h.

◆ engine_type

template<typename T , template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator , class Dist >
typedef Generator agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >::engine_type

Definition at line 40 of file Random.h.

◆ engine_value_type

template<typename T , template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator , class Dist >
typedef Generator agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >::engine_value_type

Definition at line 41 of file Random.h.

◆ result_type

template<typename T , template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator , class Dist >
typedef Dist::result_type agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >::result_type

Definition at line 39 of file Random.h.

Constructor & Destructor Documentation

◆ variate_generator()

template<typename T , template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator , class Dist >
agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >::variate_generator ( engine_type  G0,
distribution_type  D0 
)
inline

Definition at line 49 of file Random.h.

Member Function Documentation

◆ distribution() [1/2]

template<typename T , template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator , class Dist >
distribution_type& agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >::distribution ( )
inline

Definition at line 63 of file Random.h.

◆ distribution() [2/2]

template<typename T , template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator , class Dist >
const distribution_type& agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >::distribution ( ) const
inline

Definition at line 67 of file Random.h.

◆ engine() [1/2]

template<typename T , template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator , class Dist >
engine_value_type& agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >::engine ( )
inline

Definition at line 54 of file Random.h.

◆ engine() [2/2]

template<typename T , template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator , class Dist >
const engine_value_type& agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >::engine ( ) const
inline

Definition at line 59 of file Random.h.

◆ max()

template<typename T , template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator , class Dist >
result_type agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >::max ( ) const
inline

Definition at line 46 of file Random.h.

◆ min()

template<typename T , template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator , class Dist >
result_type agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >::min ( ) const
inline

Definition at line 45 of file Random.h.

◆ operator()() [1/2]

template<typename T , template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator , class Dist >
result_type agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >::operator() ( )
inline

Definition at line 44 of file Random.h.

◆ operator()() [2/2]

template<typename T , template< typename > class DistributionT, typename EngineT = std::mt19937>
template<class Generator , class Dist >
template<class ValT >
result_type agx::RandomGenerator< T, DistributionT, EngineT >::variate_generator< Generator, Dist >::operator() ( ValT  value)
inline

Definition at line 52 of file Random.h.


The documentation for this class was generated from the following file: