SG++-Doxygen-Documentation
sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive Class Reference

Operation for evaluating partial derivatives of modified Clenshaw-Curtis B-spline linear combinations on Noboundary grids. More...

#include <OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive.hpp>

Inheritance diagram for sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive:
sgpp::base::OperationEvalPartialDerivative

Public Member Functions

double evalPartialDerivative (const DataVector &alpha, const DataVector &point, size_t derivDim, double &partialDerivative) override
 
void evalPartialDerivative (const DataMatrix &alpha, const DataVector &point, size_t derivDim, DataVector &value, DataVector &partialDerivative) override
 
 OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive (GridStorage &storage, size_t degree)
 Constructor. More...
 
 ~OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::base::OperationEvalPartialDerivative
 OperationEvalPartialDerivative ()
 Constructor. More...
 
virtual ~OperationEvalPartialDerivative ()
 Destructor. More...
 

Protected Attributes

SBsplineModifiedClenshawCurtisBase base
 1D B-spline basis More...
 
DataVector pointInUnitCube
 untransformed evaluation point (temporary vector) More...
 
GridStoragestorage
 storage of the sparse grid More...
 

Additional Inherited Members

- Public Attributes inherited from sgpp::base::OperationEvalPartialDerivative
DataVector pointInUnitCube
 untransformed evaluation point (temporary vector) More...
 

Detailed Description

Operation for evaluating partial derivatives of modified Clenshaw-Curtis B-spline linear combinations on Noboundary grids.

Constructor & Destructor Documentation

sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive ( GridStorage storage,
size_t  degree 
)
inline

Constructor.

Parameters
storagestorage of the sparse grid
degreeB-spline degree
sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive::~OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive ( )
inlineoverride

Destructor.

References alpha, evalPartialDerivative(), and chess::point.

Member Function Documentation

double sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive::evalPartialDerivative ( const DataVector alpha,
const DataVector point,
size_t  derivDim,
double &  partialDerivative 
)
overridevirtual
void sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive::evalPartialDerivative ( const DataMatrix alpha,
const DataVector point,
size_t  derivDim,
DataVector value,
DataVector partialDerivative 
)
overridevirtual
Parameters
alphacoefficient matrix (each column is a coefficient vector)
pointevaluation point
derivDimdimension in which the partial derivative should be taken (0, ..., d-1)
[out]valuevalues of the linear combination
[out]partialDerivativevalues of the partial derivatives of the linear combination (the j-th entry corresponds to the j-th column of alpha)

Reimplemented from sgpp::base::OperationEvalPartialDerivative.

References alpha, base, sgpp::base::BsplineModifiedClenshawCurtisBasis< LT, IT >::eval(), sgpp::base::BsplineModifiedClenshawCurtisBasis< LT, IT >::evalDx(), 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, python.utils.statsfile2gnuplot::j, m, chess::point, pointInUnitCube, sgpp::base::DataVector::setAll(), storage, and sgpp::base::BoundingBox::transformPointToUnitCube().

Member Data Documentation

SBsplineModifiedClenshawCurtisBase sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive::base
protected

1D B-spline basis

Referenced by evalPartialDerivative().

DataVector sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive::pointInUnitCube
protected

untransformed evaluation point (temporary vector)

Referenced by evalPartialDerivative().

GridStorage& sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive::storage
protected

storage of the sparse grid

Referenced by evalPartialDerivative().


The documentation for this class was generated from the following files: