SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::datadriven::OperationMultipleEvalLinearDistributed Class Reference

This class is a distributed version of sgpp::base::OperationMultipleEvalLinear, it uses ScaLAPACK. More...

#include <OperationMultipleEvalLinearDistributed.hpp>

Inheritance diagram for sgpp::datadriven::OperationMultipleEvalLinearDistributed:
sgpp::datadriven::OperationMultipleEvalDistributed sgpp::base::OperationMultipleEval

Public Member Functions

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

Protected Attributes

sgpp::base::GridStoragestorage
 
- Protected Attributes inherited from sgpp::base::OperationMultipleEval
DataMatrixdataset
 
Gridgrid
 
bool isPrepared
 

Detailed Description

This class is a distributed version of sgpp::base::OperationMultipleEvalLinear, it uses ScaLAPACK.

It implements distributed OperationB for a grid with modified linear ansatzfunctions

Constructor & Destructor Documentation

◆ OperationMultipleEvalLinearDistributed()

sgpp::datadriven::OperationMultipleEvalLinearDistributed::OperationMultipleEvalLinearDistributed ( sgpp::base::Grid grid,
sgpp::base::DataMatrix dataset 
)
inline

Constructor.

Parameters
grid
dataset

◆ ~OperationMultipleEvalLinearDistributed()

sgpp::datadriven::OperationMultipleEvalLinearDistributed::~OperationMultipleEvalLinearDistributed ( )
inlineoverride

Destructor.

Member Function Documentation

◆ getDuration()

double sgpp::datadriven::OperationMultipleEvalLinearDistributed::getDuration ( )
overridevirtual

◆ multDistributed()

void sgpp::datadriven::OperationMultipleEvalLinearDistributed::multDistributed ( sgpp::base::DataVector alpha,
DataVectorDistributed result 
)
overridevirtual

Distributed version of mult.

Multiplication of \(B^T\) with vector \(\alpha\)

Parameters
alphavector, to which \(B\) is applied. Typically the coefficient vector
resultthe result vector of the matrix vector multiplication

Implements sgpp::datadriven::OperationMultipleEvalDistributed.

References alpha, sgpp::base::OperationMultipleEval::dataset, sgpp::datadriven::AlgorithmMultipleEvaluationDistributed< BASIS >::mult(), and storage.

◆ multTransposeDistributed()

void sgpp::datadriven::OperationMultipleEvalLinearDistributed::multTransposeDistributed ( sgpp::base::DataVector source,
DataVectorDistributed result 
)
overridevirtual

Distributed version of multTransposed.

Multiplication of \(B\) with vector \(\alpha\)

Parameters
sourcevector, to which \(B^T\) is applied. Typically the coefficient vector
resultthe result vector of the matrix vector multiplication

Implements sgpp::datadriven::OperationMultipleEvalDistributed.

References alpha, sgpp::base::OperationMultipleEval::dataset, sgpp::datadriven::AlgorithmMultipleEvaluationDistributed< BASIS >::mult_transpose(), and storage.

Member Data Documentation

◆ storage

sgpp::base::GridStorage& sgpp::datadriven::OperationMultipleEvalLinearDistributed::storage
protected

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