Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
shkyera::random::Normal< SampledType > Class Template Reference

#include <Random.hpp>

Public Member Functions

 Normal (SampledType mean, SampledType stddev)
 
double operator() ()
 

Private Attributes

std::mt19937_64 _rng
 
std::normal_distribution< SampledType_dist
 

Constructor & Destructor Documentation

◆ Normal()

template<typename SampledType >
shkyera::random::Normal< SampledType >::Normal ( SampledType  mean,
SampledType  stddev 
)
inline

Member Function Documentation

◆ operator()()

template<typename SampledType >
double shkyera::random::Normal< SampledType >::operator() ( )
inline

Member Data Documentation

◆ _dist

template<typename SampledType >
std::normal_distribution<SampledType> shkyera::random::Normal< SampledType >::_dist
private

◆ _rng

template<typename SampledType >
std::mt19937_64 shkyera::random::Normal< SampledType >::_rng
private

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