![]() |
SG++-Doxygen-Documentation
|
Operation for evaluating modified Clenshaw-Curtis B-spline linear combinations on Noboundary grids, their gradients, and their Hessians. More...
#include <OperationEvalHessianModBsplineClenshawCurtisNaive.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 |
| OperationEvalHessianModBsplineClenshawCurtisNaive (GridStorage &storage, size_t degree) | |
| Constructor. More... | |
| ~OperationEvalHessianModBsplineClenshawCurtisNaive () override | |
| Destructor. More... | |
Public Member Functions inherited from sgpp::base::OperationEvalHessian | |
| OperationEvalHessian () | |
| Constructor. More... | |
| virtual | ~OperationEvalHessian () |
| Destructor. More... | |
Protected Attributes | |
| SBsplineModifiedClenshawCurtisBase | 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 modified Clenshaw-Curtis B-spline linear combinations on Noboundary 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::BsplineModifiedClenshawCurtisBasis< LT, IT >::eval(), sgpp::base::BsplineModifiedClenshawCurtisBasis< LT, IT >::evalDx(), sgpp::base::BsplineModifiedClenshawCurtisBasis< 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 ~OperationEvalHessianModBsplineClenshawCurtisNaive().
|
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::BsplineModifiedClenshawCurtisBasis< LT, IT >::eval(), sgpp::base::BsplineModifiedClenshawCurtisBasis< LT, IT >::evalDx(), sgpp::base::BsplineModifiedClenshawCurtisBasis< 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().