SG++-Doxygen-Documentation
|
Provides Leja points (which are nested, i. More...
#include <LejaPointDistribution.hpp>
Public Member Functions | |
virtual double | compute (size_t numPoints, size_t j) |
computes the j-th grid point from the set of numPoints grid points. More... | |
LejaPointDistribution () | |
LejaPointDistribution (SingleFunction weightFunction) | |
virtual | ~LejaPointDistribution () |
Public Member Functions inherited from sgpp::combigrid::AbstractPointDistribution | |
virtual | ~AbstractPointDistribution () |
Static Public Member Functions | |
static void | calc_leja_points (std::vector< double > &sortedPoints, std::vector< double > &points, int number, double lower_bound, double upper_bound, std::function< double(double)> weight_func, double epsilon=1e-12) |
calculates Leja points More... | |
Provides Leja points (which are nested, i.
e. the set of n leja points is a subset of the set of n+1 leja points). Also accepts a weight function to compute weighted Leja points.
sgpp::combigrid::LejaPointDistribution::LejaPointDistribution | ( | ) |
|
explicit |
|
virtual |
|
static |
calculates Leja points
epsilon | error threshold |
sortedPoints | current Points |
points | current Points, new points will be added to this list |
number | number of next leja points, new points will be addes to this list |
lower_bound | lower bound for the range of the points |
upper_bound | upper bound for the range of the points |
weight_func | the weight function |
References sgpp::combigrid::OptimizationGuess::b, python.statsfileInfo::i, sgpp::combigrid::OptimizationGuess::initial(), python.utils.statsfile2gnuplot::j, python.leja::lower_bound, and sgpp::combigrid::MixedOptimizer::minimize().
Referenced by compute().
|
virtual |
computes the j-th grid point from the set of numPoints grid points.
Implements sgpp::combigrid::AbstractPointDistribution.
References calc_leja_points(), sgpp::combigrid::GeneralFunction< Out, In >::getStdFunction(), and python.utils.statsfile2gnuplot::j.