BD_Integratoren/src/Simulation.h
2021-10-22 21:58:37 +02:00

27 lines
501 B
C++

//
// Created by jholder on 21.10.21.
//
#ifndef MYPROJECT_SIMULATION_H
#define MYPROJECT_SIMULATION_H
#include <random>
class Simulation {
public:
explicit Simulation(double t_delta_T, size_t seed);
double getNorm(double t_norm);
private:
double m_delta_T;
double m_std;
std::mt19937_64 m_generator;
std::normal_distribution<double> m_norm;
public:
[[nodiscard]] double getMDeltaT() const;
[[nodiscard]] double getSTD() const;
};
#endif //MYPROJECT_SIMULATION_H