SG++-Doxygen-Documentation
|
Abstract operation for evaluating a linear combination of basis functions, its gradient and its Hessian. More...
#include <OperationEvalHessian.hpp>
Public Member Functions | |
virtual double | evalHessian (const DataVector &alpha, const DataVector &point, DataVector &gradient, DataMatrix &hessian)=0 |
virtual void | evalHessian (const DataMatrix &alpha, const DataVector &point, DataVector &value, DataMatrix &gradient, std::vector< DataMatrix > &hessian) |
OperationEvalHessian () | |
Constructor. More... | |
virtual | ~OperationEvalHessian () |
Destructor. More... | |
Public Attributes | |
DataVector | pointInUnitCube |
untransformed evaluation point (temporary vector) More... | |
Abstract operation for evaluating a linear combination of basis functions, its gradient and its Hessian.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
References alpha, evalHessian(), and chess::point.
|
pure virtual |
alpha | coefficient vector | |
point | evaluation point | |
[out] | gradient | gradient vector of the linear combination |
[out] | hessian | Hessian matrix of the linear combination |
Implemented in sgpp::base::OperationEvalHessianModBsplineClenshawCurtisNaive, sgpp::base::OperationEvalHessianBsplineBoundaryNaive, sgpp::base::OperationEvalHessianBsplineClenshawCurtisNaive, sgpp::base::OperationEvalHessianFundamentalSplineNaive, sgpp::base::OperationEvalHessianModFundamentalSplineNaive, sgpp::base::OperationEvalHessianBsplineNaive, sgpp::base::OperationEvalHessianModBsplineNaive, sgpp::base::OperationEvalHessianWaveletBoundaryNaive, sgpp::base::OperationEvalHessianModWaveletNaive, and sgpp::base::OperationEvalHessianWaveletNaive.
Referenced by evalHessian(), and ~OperationEvalHessian().
|
inlinevirtual |
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 in sgpp::base::OperationEvalHessianModBsplineClenshawCurtisNaive, sgpp::base::OperationEvalHessianBsplineBoundaryNaive, sgpp::base::OperationEvalHessianBsplineClenshawCurtisNaive, sgpp::base::OperationEvalHessianFundamentalSplineNaive, sgpp::base::OperationEvalHessianModFundamentalSplineNaive, sgpp::base::OperationEvalHessianBsplineNaive, sgpp::base::OperationEvalHessianModBsplineNaive, sgpp::base::OperationEvalHessianWaveletBoundaryNaive, sgpp::base::OperationEvalHessianModWaveletNaive, and sgpp::base::OperationEvalHessianWaveletNaive.
References evalHessian(), sgpp::base::DataMatrix::getColumn(), sgpp::base::DataMatrix::getNcols(), sgpp::base::DataMatrix::getNrows(), sgpp::base::DataVector::getSize(), python.utils.statsfile2gnuplot::j, m, sgpp::base::DataMatrix::resize(), and sgpp::base::DataMatrix::setRow().
DataVector sgpp::base::OperationEvalHessian::pointInUnitCube |
untransformed evaluation point (temporary vector)