aboutsummaryrefslogtreecommitdiffstats
path: root/rqmc.cpp
blob: 40fd8ad48ea3d71ddf47276fe37a5859fb038603 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
}