SG++-Doxygen-Documentation
|
Operation for evaluating B-spline linear combinations on Clenshaw-Curtis grids and their gradients. More...
#include <OperationEvalGradientBsplineClenshawCurtisNaive.hpp>
Public Member Functions | |
double | evalGradient (const DataVector &alpha, const DataVector &point, DataVector &gradient) override |
void | evalGradient (const DataMatrix &alpha, const DataVector &point, DataVector &value, DataMatrix &gradient) override |
OperationEvalGradientBsplineClenshawCurtisNaive (GridStorage &storage, size_t degree) | |
Constructor. More... | |
~OperationEvalGradientBsplineClenshawCurtisNaive () override | |
Destructor. More... | |
Public Member Functions inherited from sgpp::base::OperationEvalGradient | |
OperationEvalGradient () | |
Constructor. More... | |
virtual | ~OperationEvalGradient () |
Destructor. More... | |
Protected Attributes | |
SBsplineClenshawCurtisBase | base |
1D B-spline basis More... | |
DataVector | innerDerivative |
inner derivative (temporary vector) 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::OperationEvalGradient | |
DataVector | pointInUnitCube |
untransformed evaluation point (temporary vector) More... | |
Operation for evaluating B-spline linear combinations on Clenshaw-Curtis grids and their gradients.
|
inline |
Constructor.
storage | storage of the sparse grid |
degree | B-spline degree |
|
inlineoverride |
Destructor.
References alpha, evalGradient(), and chess::point.
|
overridevirtual |
alpha | coefficient vector | |
point | evaluation point | |
[out] | gradient | gradient of linear combination |
Implements sgpp::base::OperationEvalGradient.
References sgpp::base::DataVector::add(), base, sgpp::base::BsplineClenshawCurtisBasis< LT, IT >::eval(), sgpp::base::BsplineClenshawCurtisBasis< 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, innerDerivative, chess::point, pointInUnitCube, sgpp::base::DataVector::setAll(), storage, and sgpp::base::BoundingBox::transformPointToUnitCube().
Referenced by ~OperationEvalGradientBsplineClenshawCurtisNaive().
|
overridevirtual |
alpha | coefficient matrix (each column is a coefficient vector) | |
point | evaluation point | |
[out] | value | values of the linear combination |
[out] | gradient | Jacobian of the linear combination (each row is a gradient vector) |
Reimplemented from sgpp::base::OperationEvalGradient.
References alpha, base, sgpp::base::BsplineClenshawCurtisBasis< LT, IT >::eval(), sgpp::base::BsplineClenshawCurtisBasis< 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, innerDerivative, python.utils.statsfile2gnuplot::j, m, chess::point, pointInUnitCube, sgpp::base::DataMatrix::resize(), sgpp::base::DataVector::setAll(), sgpp::base::DataMatrix::setAll(), storage, and sgpp::base::BoundingBox::transformPointToUnitCube().
|
protected |
1D B-spline basis
Referenced by evalGradient().
|
protected |
inner derivative (temporary vector)
Referenced by evalGradient().
|
protected |
untransformed evaluation point (temporary vector)
Referenced by evalGradient().
|
protected |
storage of the sparse grid
Referenced by evalGradient().