10#ifndef ROL_MONTECARLOGENERATOR_HPP
11#define ROL_MONTECARLOGENERATOR_HPP
18template<
typename Real>
21 std::vector<std::vector<Real>>
data_;
22 const std::vector<Ptr<Distribution<Real>>>
dist_;
32 Real
ierf(Real input)
const;
42 virtual std::vector<std::vector<Real>>
sample(
int nSamp,
bool store =
true,
bool refine =
false);
49 bool adaptive =
false,
51 int seed = 123454321);
54 std::vector<std::vector<Real>> &bounds,
57 bool adaptive =
false,
59 int seed = 123454321);
62 const std::vector<Real> &mean,
63 const std::vector<Real> &std,
66 bool adaptive =
false,
68 int seed = 123454321);
72 bool adaptive =
false,
74 int seed = 123454321);
79 void refine(
void)
override;
Real computeError(std::vector< Real > &vals) override
std::vector< std::vector< Real > > data_
const std::vector< Ptr< Distribution< Real > > > dist_
void update(const Vector< Real > &x) override
int numGlobalSamples(void) const override
void refine(void) override
Real ierf(Real input) const
virtual std::vector< std::vector< Real > > sample(int nSamp, bool store=true, bool refine=false)
Defines the linear algebra or vector space interface.