#ifndef LOGNORMAL_H #define LOGNORMAL_H #include "base.h" #include #include class LogNormalDistribution final : public Distribution { public: LogNormalDistribution(double, double, std::mt19937_64&); explicit LogNormalDistribution(std::mt19937_64 &rng); void setParameters(const std::unordered_map &) override; void initialize() override; void draw_tau() override; private: double m_sigma{1}; std::lognormal_distribution<> m_distribution; }; #endif //LOGNORMAL_H