From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../Aufgabe2und3/src/Normaldistribution.h | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/Normaldistribution.h (limited to 'Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/Normaldistribution.h') diff --git a/Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/Normaldistribution.h b/Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/Normaldistribution.h new file mode 100644 index 0000000..5609ba3 --- /dev/null +++ b/Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/Normaldistribution.h @@ -0,0 +1,24 @@ +/* + * Normaldistribution.h + * + * Created on: 20.05.2011 + * Author: sven + */ + +#ifndef NORMALDISTRIBUTION_H_ +#define NORMALDISTRIBUTION_H_ + +#include "Parametrisation.h" +#include "CholeskyDecomposition.h" +#include + +class Normaldistribution { +public: + Normaldistribution(); + virtual ~Normaldistribution(); + void calcRandomVector(const CholeskyMatrix& D, const std::vector& mu , std::vector& y); +private: + void calcStandardNormalDistributedRandomVector(const int size, std::vector& u); +}; + +#endif /* NORMALDISTRIBUTION_H_ */ -- cgit v1.2.3