SG++-Doxygen-Documentation
|
Monte-Carlo-Quadrature for testing issues. More...
#include <MCIntegrator.hpp>
Public Member Functions | |
double | average (std::vector< std::pair< double, double >> domain, size_t num_samples) |
double | integrate (std::vector< std::pair< double, double >> domain, size_t num_samples) |
MCIntegrator (std::function< double(base::DataVector const &)> func) | |
MCIntegrator (std::function< base::DataVector(std::vector< base::DataVector > const &)> func) | |
Monte-Carlo-Quadrature for testing issues.
|
explicit |
References python.statsfileInfo::i.
|
explicit |
double sgpp::combigrid::MCIntegrator::average | ( | std::vector< std::pair< double, double >> | domain, |
size_t | num_samples | ||
) |
References chess::dim, sgpp::base::DataVector::getSize(), and python.statsfileInfo::i.
Referenced by integrate().
double sgpp::combigrid::MCIntegrator::integrate | ( | std::vector< std::pair< double, double >> | domain, |
size_t | num_samples | ||
) |
References average().