SG++-Doxygen-Documentation
|
Operation for evaluating partial derivatives of wavelet linear combinations on Noboundary grids. More...
#include <OperationEvalPartialDerivativeWaveletNaive.hpp>
Public Member Functions | |
double | evalPartialDerivative (const DataVector &alpha, const DataVector &point, size_t derivDim, double &partialDerivative) override |
void | evalPartialDerivative (const DataMatrix &alpha, const DataVector &point, size_t derivDim, DataVector &value, DataVector &partialDerivative) override |
OperationEvalPartialDerivativeWaveletNaive (GridStorage &storage) | |
Constructor. More... | |
~OperationEvalPartialDerivativeWaveletNaive () override | |
Destructor. More... | |
Public Member Functions inherited from sgpp::base::OperationEvalPartialDerivative | |
OperationEvalPartialDerivative () | |
Constructor. More... | |
virtual | ~OperationEvalPartialDerivative () |
Destructor. More... | |
Protected Attributes | |
SWaveletBase | base |
1D wavelet basis More... | |
DataVector | pointInUnitCube |
untransformed evaluation point (temporary vector) More... | |
GridStorage & | storage |
storage of the sparse grid More... | |
Additional Inherited Members | |
Public Attributes inherited from sgpp::base::OperationEvalPartialDerivative | |
DataVector | pointInUnitCube |
untransformed evaluation point (temporary vector) More... | |
Operation for evaluating partial derivatives of wavelet linear combinations on Noboundary grids.
|
inlineexplicit |
Constructor.
storage | storage of the sparse grid |
|
inlineoverride |
Destructor.
References alpha, evalPartialDerivative(), and chess::point.
|
overridevirtual |
alpha | coefficient vector | |
point | evaluation point | |
derivDim | dimension in which the partial derivative should be taken (0, ..., d-1) | |
[out] | partialDerivative | value of the partial derivative of the linear combination |
Implements sgpp::base::OperationEvalPartialDerivative.
References base, sgpp::base::WaveletBasis< LT, IT >::eval(), sgpp::base::WaveletBasis< LT, IT >::evalDx(), sgpp::base::HashGridStorage::getBoundingBox(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::HashGridPoint::getIndex(), sgpp::base::BoundingBox::getIntervalWidth(), sgpp::base::HashGridPoint::getLevel(), sgpp::base::HashGridStorage::getSize(), python.statsfileInfo::i, chess::point, pointInUnitCube, storage, and sgpp::base::BoundingBox::transformPointToUnitCube().
Referenced by ~OperationEvalPartialDerivativeWaveletNaive().
|
overridevirtual |
alpha | coefficient matrix (each column is a coefficient vector) | |
point | evaluation point | |
derivDim | dimension in which the partial derivative should be taken (0, ..., d-1) | |
[out] | value | values of the linear combination |
[out] | partialDerivative | values of the partial derivatives of the linear combination (the j-th entry corresponds to the j-th column of alpha) |
Reimplemented from sgpp::base::OperationEvalPartialDerivative.
References alpha, base, sgpp::base::WaveletBasis< LT, IT >::eval(), sgpp::base::WaveletBasis< LT, IT >::evalDx(), sgpp::base::HashGridStorage::getBoundingBox(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::HashGridPoint::getIndex(), sgpp::base::BoundingBox::getIntervalWidth(), 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().
|
protected |
1D wavelet basis
Referenced by evalPartialDerivative().
|
protected |
untransformed evaluation point (temporary vector)
Referenced by evalPartialDerivative().
|
protected |
storage of the sparse grid
Referenced by evalPartialDerivative().