#include <OperationEvalPolyClenshawCurtisNaive.hpp>
◆ OperationEvalPolyClenshawCurtisNaive()
sgpp::base::OperationEvalPolyClenshawCurtisNaive::OperationEvalPolyClenshawCurtisNaive |
( |
GridStorage & |
storage, |
|
|
size_t |
degree |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
storage | storage of the sparse grid |
degree | polynomial degree |
◆ ~OperationEvalPolyClenshawCurtisNaive()
sgpp::base::OperationEvalPolyClenshawCurtisNaive::~OperationEvalPolyClenshawCurtisNaive |
( |
| ) |
|
|
inlineoverride |
◆ eval() [1/2]
double sgpp::base::OperationEvalPolyClenshawCurtisNaive::eval |
( |
const DataVector & |
alpha, |
|
|
const DataVector & |
point |
|
) |
| |
|
overridevirtual |
- Parameters
-
alpha | coefficient vector |
point | evaluation point |
- Returns
- value of the linear combination
Implements sgpp::base::OperationEval.
References base, sgpp::base::PolyClenshawCurtisBasis< LT, IT >::eval(), sgpp::base::HashGridStorage::getBoundingBox(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::HashGridPoint::getIndex(), sgpp::base::HashGridPoint::getLevel(), sgpp::base::HashGridStorage::getSize(), python.statsfileInfo::i, chess::point, pointInUnitCube, storage, and sgpp::base::BoundingBox::transformPointToUnitCube().
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), and ~OperationEvalPolyClenshawCurtisNaive().
◆ eval() [2/2]
- Parameters
-
| alpha | coefficient matrix (each column is a coefficient vector) |
| point | evaluation point |
[out] | value | values of linear combination |
Reimplemented from sgpp::base::OperationEval.
References alpha, base, sgpp::base::PolyClenshawCurtisBasis< LT, IT >::eval(), sgpp::base::HashGridStorage::getBoundingBox(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::HashGridPoint::getIndex(), sgpp::base::HashGridPoint::getLevel(), sgpp::base::DataMatrix::getNcols(), sgpp::base::HashGridStorage::getSize(), python.statsfileInfo::i, python.utils.statsfile2gnuplot::j, m, chess::point, pointInUnitCube, sgpp::base::DataVector::setAll(), storage, and sgpp::base::BoundingBox::transformPointToUnitCube().
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity().
◆ base
1D B-spline basis
Referenced by eval().
◆ pointInUnitCube
DataVector sgpp::base::OperationEvalPolyClenshawCurtisNaive::pointInUnitCube |
|
protected |
untransformed evaluation point (temporary vector)
Referenced by eval().
◆ storage
GridStorage& sgpp::base::OperationEvalPolyClenshawCurtisNaive::storage |
|
protected |
storage of the sparse grid
Referenced by eval().
The documentation for this class was generated from the following files: