diff options
| author | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
|---|---|---|
| committer | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
| commit | 33613a85afc4b1481367fbe92a17ee59c240250b (patch) | |
| tree | 670b842326116b376b505ec2263878912fca97e2 /Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/Normaldistribution.h | |
| download | Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2 | |
Diffstat (limited to 'Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/Normaldistribution.h')
| -rw-r--r-- | Master/Modellbildung_und_Simulation/Aufgabenblatt2/Aufgabe2und3/src/Normaldistribution.h | 24 |
1 files changed, 24 insertions, 0 deletions
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 <vector> + +class Normaldistribution { +public: + Normaldistribution(); + virtual ~Normaldistribution(); + void calcRandomVector(const CholeskyMatrix& D, const std::vector<double>& mu , std::vector<double>& y); +private: + void calcStandardNormalDistributedRandomVector(const int size, std::vector<double>& u); +}; + +#endif /* NORMALDISTRIBUTION_H_ */ |
