SG++-Doxygen-Documentation
sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix Class Reference

Class that implements the virtual class OperationMatrix for the application of classification for the Systemmatrix by using a density function. More...

#include <PiecewiseConstantSmoothedRegressionSystemMatrix.hpp>

Inheritance diagram for sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix:
sgpp::base::OperationMatrix

Public Member Functions

void generateb (sgpp::base::DataVector &b)
 Generates the right hand side of the classification equation. More...
 
void mult (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result)
 Generates the left hand side of the classification equation. More...
 
 PiecewiseConstantSmoothedRegressionSystemMatrix (sgpp::datadriven::PiecewiseConstantRegression::Node &piecewiseRegressor, sgpp::base::Grid &grid, sgpp::base::OperationMatrix &C, double lambdaRegression)
 Std-Constructor. More...
 
virtual ~PiecewiseConstantSmoothedRegressionSystemMatrix ()
 Std-Destructor. More...
 
- Public Member Functions inherited from sgpp::base::OperationMatrix
 OperationMatrix ()
 Constructor. More...
 
virtual ~OperationMatrix ()
 Destructor. More...
 

Detailed Description

Class that implements the virtual class OperationMatrix for the application of classification for the Systemmatrix by using a density function.

Constructor & Destructor Documentation

◆ PiecewiseConstantSmoothedRegressionSystemMatrix()

sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix::PiecewiseConstantSmoothedRegressionSystemMatrix ( sgpp::datadriven::PiecewiseConstantRegression::Node piecewiseRegressor,
sgpp::base::Grid grid,
sgpp::base::OperationMatrix C,
double  lambdaRegression 
)

Std-Constructor.

Parameters
piecewiseRegressorapproximation with piecewise-constant octtree
gridreference to the sparse grid
Cthe regression functional
lambdaRegressionthe regression parameter

References sgpp::op_factory::createOperationLTwoDotProduct().

◆ ~PiecewiseConstantSmoothedRegressionSystemMatrix()

sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix::~PiecewiseConstantSmoothedRegressionSystemMatrix ( )
virtual

Std-Destructor.

Referenced by generateb().

Member Function Documentation

◆ generateb()

void sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix::generateb ( sgpp::base::DataVector b)

Generates the right hand side of the classification equation.

Parameters
breference to the vector which will contain the result of the matrix vector multiplication on the rhs

References sgpp::base::HashGridStorage::getPoint(), sgpp::base::HashGridStorage::getSize(), sgpp::base::Grid::getStorage(), sgpp::datadriven::PiecewiseConstantRegression::Node::integrate(), and ~PiecewiseConstantSmoothedRegressionSystemMatrix().

◆ mult()

void sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix::mult ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result 
)
virtual

Generates the left hand side of the classification equation.

Parameters
alphaparameters for the sparse grid functions
resultreference to the vector which will contain the result

Implements sgpp::base::OperationMatrix.

References sgpp::base::DataVector::axpy(), sgpp::base::DataVector::getSize(), sgpp::base::OperationMatrix::mult(), sgpp::base::DataVector::setAll(), and analyse_erg::tmp.


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