![]() |
SG++-Doxygen-Documentation
|
Operation for evaluating modified spline linear combinations on Noboundary grids and their gradients. More...
#include <OperationEvalGradientModNakBsplineNaive.hpp>
Public Member Functions | |
void | evalGradient (const DataMatrix &alpha, const DataVector &point, DataVector &value, DataMatrix &gradient) override |
double | evalGradient (const DataVector &alpha, const DataVector &point, DataVector &gradient) override |
OperationEvalGradientModNakBsplineNaive (GridStorage &storage, size_t degree) | |
Constructor. | |
~OperationEvalGradientModNakBsplineNaive () override | |
Destructor. | |
![]() | |
OperationEvalGradient () | |
Constructor. | |
virtual | ~OperationEvalGradient () |
Destructor. | |
Protected Attributes | |
SNakBsplineModifiedBase | base |
1D spline basis | |
SNakBsplineModifiedBaseDeriv1 | baseDeriv1 |
1D spline basis derivative | |
DataVector | innerDerivative |
inner derivative (temporary vector) | |
DataVector | pointInUnitCube |
untransformed evaluation point (temporary vector) | |
GridStorage & | storage |
storage of the sparse grid | |
Additional Inherited Members | |
![]() | |
DataVector | pointInUnitCube |
untransformed evaluation point (temporary vector) | |
Operation for evaluating modified spline linear combinations on Noboundary grids and their gradients.
|
inline |
Constructor.
storage | storage of the sparse grid |
degree | B-spline degree |
|
inlineoverride |
Destructor.
|
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, baseDeriv1, sgpp::base::NakBsplineModifiedBasis< LT, IT >::eval(), sgpp::base::NakBsplineModifiedBasisDeriv1< LT, IT >::eval(), sgpp::base::HashGridStorage::getBoundingBox(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::HashGridPoint::getIndex(), sgpp::base::BoundingBox::getIntervalWidth(), sgpp::base::HashGridPoint::getLevel(), sgpp::base::HashGridStorage::getSize(), innerDerivative, m, pointInUnitCube, sgpp::base::DataMatrix::resize(), sgpp::base::DataMatrix::setAll(), sgpp::base::DataVector::setAll(), storage, and sgpp::base::BoundingBox::transformPointToUnitCube().
|
overridevirtual |
alpha | coefficient vector | |
point | evaluation point | |
[out] | gradient | gradient of linear combination |
Implements sgpp::base::OperationEvalGradient.
References sgpp::base::DataVector::add(), alpha, base, baseDeriv1, sgpp::base::NakBsplineModifiedBasis< LT, IT >::eval(), sgpp::base::NakBsplineModifiedBasisDeriv1< LT, IT >::eval(), sgpp::base::HashGridStorage::getBoundingBox(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::HashGridPoint::getIndex(), sgpp::base::BoundingBox::getIntervalWidth(), sgpp::base::HashGridPoint::getLevel(), sgpp::base::HashGridStorage::getSize(), innerDerivative, pointInUnitCube, sgpp::base::DataVector::setAll(), storage, and sgpp::base::BoundingBox::transformPointToUnitCube().
|
protected |
1D spline basis
Referenced by evalGradient(), and evalGradient().
|
protected |
1D spline basis derivative
Referenced by evalGradient(), and evalGradient().
|
protected |
inner derivative (temporary vector)
Referenced by evalGradient(), and evalGradient().
|
protected |
untransformed evaluation point (temporary vector)
Referenced by evalGradient(), and evalGradient().
|
protected |
storage of the sparse grid
Referenced by evalGradient(), and evalGradient().