#include <LTwoScalarProductHashMapNakBsplineBoundaryCombigrid.hpp>
|
double | calculateScalarProduct (base::level_t lid, base::index_t iid, base::level_t ljd, base::index_t ijd, base::DataVector coordinates, base::DataVector weights, sgpp::base::SNakBsplineBoundaryCombigridBase basis, size_t d, double offseti_left, double offsetj_left, sgpp::base::index_t hInvik, sgpp::base::index_t hInvjk, double hik, double hjk, size_t pp1h) |
| subroutine to calculate the scalar product of the B splines i and j with level index pairs (li,ii) and (lj,ij) More...
|
|
MultiIndex | hashLevelIndex (base::level_t li, base::index_t ii, base::level_t lj, base::index_t ij, size_t d) |
| Creates hash key from the two level-index pairs of two 1D Bsplines. More...
|
|
| LTwoScalarProductHashMapNakBsplineBoundaryCombigrid () |
|
| LTwoScalarProductHashMapNakBsplineBoundaryCombigrid (sgpp::base::Grid *grid) |
| Constructor. More...
|
|
| LTwoScalarProductHashMapNakBsplineBoundaryCombigrid (sgpp::base::Grid *grid, sgpp::combigrid::WeightFunctionsCollection weightFunctionsCollection) |
|
| LTwoScalarProductHashMapNakBsplineBoundaryCombigrid (sgpp::base::Grid *grid, sgpp::combigrid::WeightFunctionsCollection weightFunctionsCollection, sgpp::base::DataVector bounds) |
|
| LTwoScalarProductHashMapNakBsplineBoundaryCombigrid (sgpp::base::Grid *grid, sgpp::combigrid::WeightFunctionsCollection weightFunctionsCollection, sgpp::base::DataVector bounds, size_t numAdditionalPoints, size_t incrementQuadraturePoints=5) |
|
virtual void | mult (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result) |
| Implementation of standard matrix multiplication. More...
|
|
void | setBounds (sgpp::base::DataVector bounds) |
|
void | setWeightFunction (sgpp::combigrid::WeightFunctionsCollection weightFunctionsCollection) |
|
void | updateGrid (sgpp::base::Grid *grid) |
|
virtual | ~LTwoScalarProductHashMapNakBsplineBoundaryCombigrid () |
| Destructor. More...
|
|
◆ LTwoScalarProductHashMapNakBsplineBoundaryCombigrid() [1/5]
sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid |
( |
| ) |
|
|
inline |
◆ LTwoScalarProductHashMapNakBsplineBoundaryCombigrid() [2/5]
sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid |
( |
sgpp::base::Grid * |
grid | ) |
|
|
explicit |
◆ LTwoScalarProductHashMapNakBsplineBoundaryCombigrid() [3/5]
◆ LTwoScalarProductHashMapNakBsplineBoundaryCombigrid() [4/5]
◆ LTwoScalarProductHashMapNakBsplineBoundaryCombigrid() [5/5]
◆ ~LTwoScalarProductHashMapNakBsplineBoundaryCombigrid()
sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::~LTwoScalarProductHashMapNakBsplineBoundaryCombigrid |
( |
| ) |
|
|
virtual |
◆ calculateScalarProduct()
double sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::calculateScalarProduct |
( |
base::level_t |
lid, |
|
|
base::index_t |
iid, |
|
|
base::level_t |
ljd, |
|
|
base::index_t |
ijd, |
|
|
base::DataVector |
coordinates, |
|
|
base::DataVector |
weights, |
|
|
sgpp::base::SNakBsplineBoundaryCombigridBase |
basis, |
|
|
size_t |
d, |
|
|
double |
offseti_left, |
|
|
double |
offsetj_left, |
|
|
sgpp::base::index_t |
hInvik, |
|
|
sgpp::base::index_t |
hInvjk, |
|
|
double |
hik, |
|
|
double |
hjk, |
|
|
size_t |
pp1h |
|
) |
| |
◆ hashLevelIndex()
Creates hash key from the two level-index pairs of two 1D Bsplines.
Referenced by mult(), and updateGrid().
◆ mult()
Implementation of standard matrix multiplication.
- Parameters
-
alpha | DataVector that is multiplied to the matrix |
result | DataVector into which the result of multiplication is stored |
References bounds, calculateScalarProduct(), python.leja::count, degree, sgpp::base::HashGridStorage::getDimension(), sgpp::base::GaussLegendreQuadRule1D::getLevelPointsAndWeightsNormalized(), sgpp::base::HashGridStorage::getSize(), sgpp::base::DataVector::getSize(), sgpp::base::Grid::getStorage(), grid, hashLevelIndex(), python.statsfileInfo::i, incrementQuadraturePoints, innerProducts, isCustomWeightFunction, python.utils.statsfile2gnuplot::j, numAdditionalPoints, and sgpp::base::DataVector::setAll().
Referenced by LTwoScalarProductHashMapNakBsplineBoundaryCombigrid(), and sgpp::combigrid::BsplineStochasticCollocation::mean().
◆ setBounds()
void sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::setBounds |
( |
sgpp::base::DataVector |
bounds | ) |
|
|
inline |
◆ setWeightFunction()
◆ updateGrid()
void sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::updateGrid |
( |
sgpp::base::Grid * |
grid | ) |
|
|
inline |
◆ bounds
Referenced by python.uq.dists.SGDEdist.SGDEdist::cov(), python.uq.dists.EstimatedDist.EstimatedDist::getBounds(), python.uq.dists.NatafDist.NatafDist::getBounds(), python.uq.dists.LibAGFDist.LibAGFDist::getBounds(), python.uq.dists.SGDEdist.SGDEdist::getJointTransformation(), LTwoScalarProductHashMapNakBsplineBoundaryCombigrid(), python.uq.dists.SGDEdist.SGDEdist::marginalize(), python.uq.dists.NatafDist.NatafDist::marginalizeToDimX(), python.uq.dists.SGDEdist.SGDEdist::marginalizeToDimX(), mult(), setBounds(), python.uq.dists.KDEDist.KDEDist::toJson(), python.uq.dists.NatafDist.NatafDist::toJson(), and python.uq.dists.SGDEdist.SGDEdist::toJson().
◆ degree
size_t sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::degree |
|
protected |
◆ grid
sgpp::base::Grid* sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::grid |
|
protected |
Referenced by python.uq.dists.SGDEdist.SGDEdist::__str__(), python.learner.Learner.Learner::applyData(), python.tools.Matrix::ApplyMatrix(), python.uq.dists.SGDEdist.SGDEdist::cdf(), python.uq.learner.Interpolant.Interpolant::doLearningIteration(), python.learner.Learner.Learner::doLearningIteration(), python.learner.Classifier.Classifier::evalError(), python.uq.learner.Interpolant.Interpolant::evalError(), python.tools.Matrix::generateb(), python.controller.CheckpointController.CheckpointController::generateFoldValidationJob(), python.uq.learner.SimulationLearner.SimulationLearner::getCollocationNodes(), python.uq.learner.SimulationLearner.SimulationLearner::getGrid(), python.uq.learner.SimulationLearner.SimulationLearner::getLearner(), python.uq.learner.Regressor.Regressor::learnData(), python.learner.Learner.Learner::learnData(), python.uq.learner.Regressor.Regressor::learnDataWithFolding(), python.learner.Learner.Learner::learnDataWithFolding(), python.uq.learner.Regressor.Regressor::learnDataWithTest(), python.learner.Learner.Learner::learnDataWithTest(), python.controller.CheckpointController.CheckpointController::loadAll(), LTwoScalarProductHashMapNakBsplineBoundaryCombigrid(), python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive::makePositive(), python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast::makePositive(), python.uq.dists.SGDEdist.SGDEdist::mean(), mult(), python.uq.dists.SGDEdist.SGDEdist::pdf(), python.uq.dists.SGDEdist.SGDEdist::ppf(), python.learner.Classifier.Classifier::refineGrid(), python.learner.Regressor.Regressor::refineGrid(), python.uq.learner.Regressor.Regressor::refineGrid(), python.uq.learner.SimulationLearner.SimulationLearner::refineGrid(), python.controller.CheckpointController.CheckpointController::saveGrid(), python.controller.CheckpointController.CheckpointController::setGrid(), python.uq.learner.Learner.Learner::setGrid(), python.learner.Learner.Learner::setGrid(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid::split(), python.uq.dists.SGDEdist.SGDEdist::toJson(), updateGrid(), python.learner.Classifier.Classifier::updateResults(), python.learner.Regressor.Regressor::updateResults(), python.uq.learner.Regressor.Regressor::updateResults(), and python.uq.dists.SGDEdist.SGDEdist::var().
◆ incrementQuadraturePoints
size_t sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::incrementQuadraturePoints |
|
protected |
◆ innerProducts
std::map<MultiIndex, double> sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::innerProducts |
|
protected |
◆ isCustomWeightFunction
bool sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::isCustomWeightFunction |
|
protected |
◆ numAdditionalPoints
size_t sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::numAdditionalPoints |
|
protected |
◆ weightFunctionsCollection
The documentation for this class was generated from the following files: