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

#include <OperationMultipleEvalLinearNaive.hpp>

Inheritance diagram for sgpp::base::OperationMultipleEvalLinearNaive:
sgpp::base::OperationMultipleEval

Public Member Functions

double getDuration () override
 
void mult (DataVector &alpha, DataVector &result) override
 Multiplication of \(B^T\) with vector \(\alpha\). More...
 
void multTranspose (DataVector &source, DataVector &result) override
 Multiplication of \(B\) with vector \(\alpha\). More...
 
 OperationMultipleEvalLinearNaive (Grid &grid, DataMatrix &dataset)
 
 ~OperationMultipleEvalLinearNaive () override
 
- Public Member Functions inherited from sgpp::base::OperationMultipleEval
void eval (DataVector &alpha, DataVector &result)
 Evaluate multiple datapoints with the specified grid. More...
 
virtual std::string getImplementationName ()
 Name of this implementation of the operation. More...
 
virtual void mult (DataVector &alpha, DataVector &result, size_t startIndexData, size_t endIndexData)
 Multiplication of \(B^T\) with vector \(\alpha\). More...
 
virtual void multTranspose (DataVector &source, DataVector &result, size_t startIndexGrid, size_t endIndexGrid)
 Multiplication of \(B\) with vector \(\alpha\). More...
 
 OperationMultipleEval (sgpp::base::Grid &grid, DataMatrix &dataset)
 Constructor. More...
 
virtual void prepare ()
 Used for kernel-specific setup like special data structures that are defined from the current state of the grid. More...
 
virtual ~OperationMultipleEval ()
 Destructor. More...
 

Protected Attributes

SLinearBase base
 1D B-spline basis More...
 
DataMatrix pointsInUnitCube
 untransformed evaluation point (temporary vector) More...
 
GridStoragestorage
 storage of the sparse grid More...
 
- Protected Attributes inherited from sgpp::base::OperationMultipleEval
DataMatrixdataset
 
Gridgrid
 
bool isPrepared
 

Constructor & Destructor Documentation

◆ OperationMultipleEvalLinearNaive()

sgpp::base::OperationMultipleEvalLinearNaive::OperationMultipleEvalLinearNaive ( Grid grid,
DataMatrix dataset 
)
inline

◆ ~OperationMultipleEvalLinearNaive()

sgpp::base::OperationMultipleEvalLinearNaive::~OperationMultipleEvalLinearNaive ( )
inlineoverride

Member Function Documentation

◆ getDuration()

double sgpp::base::OperationMultipleEvalLinearNaive::getDuration ( )
overridevirtual

◆ mult()

◆ multTranspose()

void sgpp::base::OperationMultipleEvalLinearNaive::multTranspose ( DataVector source,
DataVector result 
)
overridevirtual

Member Data Documentation

◆ base

SLinearBase sgpp::base::OperationMultipleEvalLinearNaive::base
protected

1D B-spline basis

Referenced by mult(), and multTranspose().

◆ pointsInUnitCube

DataMatrix sgpp::base::OperationMultipleEvalLinearNaive::pointsInUnitCube
protected

untransformed evaluation point (temporary vector)

Referenced by mult(), and multTranspose().

◆ storage

GridStorage& sgpp::base::OperationMultipleEvalLinearNaive::storage
protected

storage of the sparse grid

Referenced by mult(), and multTranspose().


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