Skip to content
Snippets Groups Projects
NormalRandom.cpp 380 B
Newer Older
  • Learn to ignore specific revisions
  • Radim Vavřík's avatar
    Radim Vavřík committed
    #include "NormalRandom.h"
    
    namespace math1d_cl {
    
    	NormalRandom::NormalRandom(UncertainityOptions options) : AbstractRandom(options)
    	{
    
    	}
    
    	void NormalRandom::fillRandom(math1d_cl::precipitationsVector &prec, double deviation)
    	{
    		
    	}
    
    	double NormalRandom::getRandDouble(double min, double max)
    	{
    		std::normal_distribution<double> norm(min, max);
    		return norm(m_rand);
    	}
    }