SG++
sgpp::base::DehierarchisationModFundamentalSpline Class Reference

Functor for dehierarchization with modified fundamental splines via BreadthFirstSearch. More...

#include <DehierarchisationModFundamentalSpline.hpp>

Public Member Functions

 DehierarchisationModFundamentalSpline (ModFundamentalSplineGrid *grid)
 Constructor. More...
 
void operator() (const DataVector &source, DataVector &result, const grid_iterator &iterator)
 Functor operator. More...
 
void operator() (const DataMatrix &source, DataMatrix &result, const grid_iterator &iterator)
 Functor operator. More...
 
virtual ~DehierarchisationModFundamentalSpline ()
 Destructor. More...
 

Protected Types

typedef GridStorage::grid_iterator grid_iterator
 grid iterator More...
 

Protected Attributes

ModFundamentalSplineGridgrid
 grid More...
 
GridStoragestorage
 grid storage More...
 

Detailed Description

Functor for dehierarchization with modified fundamental splines via BreadthFirstSearch.

Member Typedef Documentation

Constructor & Destructor Documentation

sgpp::base::DehierarchisationModFundamentalSpline::DehierarchisationModFundamentalSpline ( ModFundamentalSplineGrid grid)
explicit

Constructor.

Parameters
gridgrid

References ~DehierarchisationModFundamentalSpline().

sgpp::base::DehierarchisationModFundamentalSpline::~DehierarchisationModFundamentalSpline ( )
virtual

Destructor.

Referenced by DehierarchisationModFundamentalSpline().

Member Function Documentation

void sgpp::base::DehierarchisationModFundamentalSpline::operator() ( const DataVector source,
DataVector result,
const grid_iterator iterator 
)

Functor operator.

For each grid point, add the value of basis function at the given iterator to the entry in result corresponding to the grid point.

Parameters
[in]sourcenode values
[out]resultresult of the functor
iteratorcurrent grid point

References sgpp::base::HashGridPoint::get(), sgpp::base::DataVector::get(), sgpp::base::HashGridIterator::get(), sgpp::base::ModFundamentalSplineGrid::getDegree(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::HashGridStorage::getSize(), sgpp::base::HashGridPoint::getStandardCoordinate(), grid, sgpp::base::HashGridIterator::seq(), and storage.

void sgpp::base::DehierarchisationModFundamentalSpline::operator() ( const DataMatrix source,
DataMatrix result,
const grid_iterator iterator 
)

Functor operator.

For each grid point, add the value of basis function at the given iterator to the row in result corresponding to the grid point.

Parameters
[in]sourcenode values
[out]resultresult of the functor
iteratorcurrent grid point

References sgpp::base::HashGridPoint::get(), sgpp::base::HashGridIterator::get(), sgpp::base::DataMatrix::get(), sgpp::base::ModFundamentalSplineGrid::getDegree(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::DataMatrix::getNcols(), sgpp::base::HashGridStorage::getSize(), sgpp::base::HashGridPoint::getStandardCoordinate(), grid, sgpp::base::HashGridIterator::seq(), sgpp::base::DataMatrix::set(), and storage.

Member Data Documentation

GridStorage& sgpp::base::DehierarchisationModFundamentalSpline::storage
protected

grid storage

Referenced by operator()().


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