SG++-Doxygen-Documentation
|
Abstract operation for evaluating a linear combination of basis functions and its gradient. More...
#include <OperationEvalGradient.hpp>
Public Member Functions | |
virtual double | evalGradient (const DataVector &alpha, const DataVector &point, DataVector &gradient)=0 |
virtual void | evalGradient (const DataMatrix &alpha, const DataVector &point, DataVector &value, DataMatrix &gradient) |
OperationEvalGradient () | |
Constructor. More... | |
virtual | ~OperationEvalGradient () |
Destructor. More... | |
Public Attributes | |
DataVector | pointInUnitCube |
untransformed evaluation point (temporary vector) More... | |
Abstract operation for evaluating a linear combination of basis functions and its gradient.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
References alpha, evalGradient(), and chess::point.
|
pure virtual |
alpha | coefficient vector | |
point | evaluation point | |
[out] | gradient | gradient vector of the linear combination |
Implemented in sgpp::base::OperationEvalGradientBsplineClenshawCurtisNaive, sgpp::base::OperationEvalGradientModBsplineClenshawCurtisNaive, sgpp::base::OperationEvalGradientModFundamentalSplineNaive, sgpp::base::OperationEvalGradientBsplineBoundaryNaive, sgpp::base::OperationEvalGradientFundamentalSplineNaive, sgpp::base::OperationEvalGradientModBsplineNaive, sgpp::base::OperationEvalGradientBsplineNaive, sgpp::base::OperationEvalGradientModWaveletNaive, sgpp::base::OperationEvalGradientWaveletBoundaryNaive, and sgpp::base::OperationEvalGradientWaveletNaive.
Referenced by evalGradient(), and ~OperationEvalGradient().
|
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) |
Reimplemented in sgpp::base::OperationEvalGradientBsplineClenshawCurtisNaive, sgpp::base::OperationEvalGradientModBsplineClenshawCurtisNaive, sgpp::base::OperationEvalGradientModFundamentalSplineNaive, sgpp::base::OperationEvalGradientBsplineBoundaryNaive, sgpp::base::OperationEvalGradientFundamentalSplineNaive, sgpp::base::OperationEvalGradientModBsplineNaive, sgpp::base::OperationEvalGradientBsplineNaive, sgpp::base::OperationEvalGradientModWaveletNaive, sgpp::base::OperationEvalGradientWaveletBoundaryNaive, and sgpp::base::OperationEvalGradientWaveletNaive.
References evalGradient(), 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::OperationEvalGradient::pointInUnitCube |
untransformed evaluation point (temporary vector)