SG++-Doxygen-Documentation
|
Operation for evaluating partial derivatives of modified Clenshaw-Curtis B-spline linear combinations on Noboundary grids. More...
#include <OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive.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 |
OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive (GridStorage &storage, size_t degree) | |
Constructor. More... | |
~OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive () override | |
Destructor. More... | |
Public Member Functions inherited from sgpp::base::OperationEvalPartialDerivative | |
OperationEvalPartialDerivative () | |
Constructor. More... | |
virtual | ~OperationEvalPartialDerivative () |
Destructor. More... | |
Protected Attributes | |
SBsplineModifiedClenshawCurtisBase | base |
1D B-spline 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 modified Clenshaw-Curtis B-spline linear combinations on Noboundary grids.
|
inline |
Constructor.
storage | storage of the sparse grid |
degree | B-spline degree |
|
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::BsplineModifiedClenshawCurtisBasis< LT, IT >::eval(), sgpp::base::BsplineModifiedClenshawCurtisBasis< 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 ~OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive().
|
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::BsplineModifiedClenshawCurtisBasis< LT, IT >::eval(), sgpp::base::BsplineModifiedClenshawCurtisBasis< 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 B-spline basis
Referenced by evalPartialDerivative().
|
protected |
untransformed evaluation point (temporary vector)
Referenced by evalPartialDerivative().
|
protected |
storage of the sparse grid
Referenced by evalPartialDerivative().