SG++-Doxygen-Documentation
|
Operation for evaluating B-spline linear combinations on Clenshaw-Curtis grids, their gradients and their Hessians. More...
#include <OperationEvalHessianBsplineClenshawCurtisNaive.hpp>
Public Member Functions | |
double | evalHessian (const DataVector &alpha, const DataVector &point, DataVector &gradient, DataMatrix &hessian) override |
void | evalHessian (const DataMatrix &alpha, const DataVector &point, DataVector &value, DataMatrix &gradient, std::vector< DataMatrix > &hessian) override |
OperationEvalHessianBsplineClenshawCurtisNaive (GridStorage &storage, size_t degree) | |
Constructor. More... | |
~OperationEvalHessianBsplineClenshawCurtisNaive () override | |
Destructor. More... | |
Public Member Functions inherited from sgpp::base::OperationEvalHessian | |
OperationEvalHessian () | |
Constructor. More... | |
virtual | ~OperationEvalHessian () |
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::OperationEvalHessian | |
DataVector | pointInUnitCube |
untransformed evaluation point (temporary vector) More... | |
Operation for evaluating B-spline linear combinations on Clenshaw-Curtis grids, their gradients and their Hessians.
|
inline |
Constructor.
storage | storage of the sparse grid |
degree | B-spline degree |
|
inlineoverride |
Destructor.
References alpha, evalHessian(), and chess::point.
|
overridevirtual |
alpha | coefficient vector | |
point | evaluation point | |
[out] | gradient | gradient vector of the linear combination |
[out] | hessian | Hessian matrix of the linear combination |
Implements sgpp::base::OperationEvalHessian.
References sgpp::base::DataVector::add(), sgpp::base::DataMatrix::add(), base, sgpp::base::BsplineClenshawCurtisBasis< LT, IT >::eval(), sgpp::base::BsplineClenshawCurtisBasis< LT, IT >::evalDx(), sgpp::base::BsplineClenshawCurtisBasis< LT, IT >::evalDxDx(), 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(), sgpp::base::DataMatrix::setAll(), storage, and sgpp::base::BoundingBox::transformPointToUnitCube().
Referenced by ~OperationEvalHessianBsplineClenshawCurtisNaive().
|
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) |
[out] | hessian | vector of Hessians of the linear combination |
Reimplemented from sgpp::base::OperationEvalHessian.
References alpha, base, sgpp::base::BsplineClenshawCurtisBasis< LT, IT >::eval(), sgpp::base::BsplineClenshawCurtisBasis< LT, IT >::evalDx(), sgpp::base::BsplineClenshawCurtisBasis< LT, IT >::evalDxDx(), 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 evalHessian().
|
protected |
inner derivative (temporary vector)
Referenced by evalHessian().
|
protected |
untransformed evaluation point (temporary vector)
Referenced by evalHessian().
|
protected |
storage of the sparse grid
Referenced by evalHessian().