diff options
| author | Bertrand <bertrand.horel@gmail.com> | 2016-02-13 21:47:14 +0000 |
|---|---|---|
| committer | Bertrand <bertrand.horel@gmail.com> | 2016-02-13 21:47:14 +0000 |
| commit | 34f073125f5c458c5c76128344f1745779f631a0 (patch) | |
| tree | 81f795059104f3d3b4e6cc4dd98c069082590db1 /rqmc.cpp | |
| parent | 05651a194efe8ff535a672840630442df4ed69e1 (diff) | |
| download | projet_C++-34f073125f5c458c5c76128344f1745779f631a0.tar.gz | |
début de randomised quasi Monte Carlo
Diffstat (limited to 'rqmc.cpp')
| -rw-r--r-- | rqmc.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/rqmc.cpp b/rqmc.cpp new file mode 100644 index 0000000..40fd8ad --- /dev/null +++ b/rqmc.cpp @@ -0,0 +1,14 @@ +#include "low_discrepancy.hpp" +#include <vector> + +int main() { + sobol s(3); + std::vector<double> q; + std::vector<double> a; + q = s(); + a = s(); + for(int i=0; i<3; i++){ + std::cout<<a[i]<<std::endl; + } + return 0; +} |
