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

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

#include <OperationEvalPartialDerivativeBsplineClenshawCurtisNaive.hpp>

Inheritance diagram for sgpp::base::OperationEvalPartialDerivativeBsplineClenshawCurtisNaive:
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
 
 OperationEvalPartialDerivativeBsplineClenshawCurtisNaive (GridStorage &storage, size_t degree)
 Constructor. More...
 
 ~OperationEvalPartialDerivativeBsplineClenshawCurtisNaive () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::base::OperationEvalPartialDerivative
 OperationEvalPartialDerivative ()
 Constructor. More...
 
virtual ~OperationEvalPartialDerivative ()
 Destructor. More...
 

Protected Attributes

SBsplineClenshawCurtisBase 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 B-spline linear combinations on Clenshaw-Curtis grids.

Constructor & Destructor Documentation

◆ OperationEvalPartialDerivativeBsplineClenshawCurtisNaive()

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

Constructor.

Parameters
storagestorage of the sparse grid
degreeB-spline degree

◆ ~OperationEvalPartialDerivativeBsplineClenshawCurtisNaive()

sgpp::base::OperationEvalPartialDerivativeBsplineClenshawCurtisNaive::~OperationEvalPartialDerivativeBsplineClenshawCurtisNaive ( )
inlineoverride

Destructor.

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

Member Function Documentation

◆ evalPartialDerivative() [1/2]

double sgpp::base::OperationEvalPartialDerivativeBsplineClenshawCurtisNaive::evalPartialDerivative ( const DataVector alpha,
const DataVector point,
size_t  derivDim,
double &  partialDerivative 
)
overridevirtual

◆ evalPartialDerivative() [2/2]

void sgpp::base::OperationEvalPartialDerivativeBsplineClenshawCurtisNaive::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::BsplineClenshawCurtisBasis< LT, IT >::eval(), sgpp::base::BsplineClenshawCurtisBasis< 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

◆ base

SBsplineClenshawCurtisBase sgpp::base::OperationEvalPartialDerivativeBsplineClenshawCurtisNaive::base
protected

1D B-spline basis

Referenced by evalPartialDerivative().

◆ pointInUnitCube

DataVector sgpp::base::OperationEvalPartialDerivativeBsplineClenshawCurtisNaive::pointInUnitCube
protected

untransformed evaluation point (temporary vector)

Referenced by evalPartialDerivative().

◆ storage

GridStorage& sgpp::base::OperationEvalPartialDerivativeBsplineClenshawCurtisNaive::storage
protected

storage of the sparse grid

Referenced by evalPartialDerivative().


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