SG++-Doxygen-Documentation
sgpp::base::AlgorithmDGEMV< BASIS > Class Template Reference

Basic multiplaction with B and B^T on grids with no boundaries. More...

#include <AlgorithmDGEMV.hpp>

## Public Member Functions

void mult (GridStorage &storage, BASIS &basis, const DataVector &source, DataMatrix &x, DataVector &result)
Performs the DGEMV Operation on the grid having a transposed matrix. More...

void mult_transposed (GridStorage &storage, BASIS &basis, const DataVector &source, DataMatrix &x, DataVector &result)
Performs the DGEMV Operation on the grid. More...

## Detailed Description

### template<class BASIS> class sgpp::base::AlgorithmDGEMV< BASIS >

Basic multiplaction with B and B^T on grids with no boundaries.

If there are $$N$$ basis functions $$\varphi(\vec{x})$$ and $$m$$ data points, then B is a (Nxm) matrix, with

$(B)_{i,j} = \varphi_i(x_j).$

(The common known name for this operation is the BLAS routine DGEMV.)

## ◆ mult()

template<class BASIS>
 void sgpp::base::AlgorithmDGEMV< BASIS >::mult ( GridStorage & storage, BASIS & basis, const DataVector & source, DataMatrix & x, DataVector & result )
inline

Performs the DGEMV Operation on the grid having a transposed matrix.

This operation can be executed in parallel by setting the USEOMP define

Parameters
 storage GridStorage object that contains the grid's points information basis a reference to a class that implements a specific basis source the coefficients of the grid points x the d-dimensional vector with data points (row-wise) result the result vector of the matrix vector multiplication

## ◆ mult_transposed()

template<class BASIS>
 void sgpp::base::AlgorithmDGEMV< BASIS >::mult_transposed ( GridStorage & storage, BASIS & basis, const DataVector & source, DataMatrix & x, DataVector & result )
inline

Performs the DGEMV Operation on the grid.

This operation can be executed in parallel by setting the USEOMP define

Parameters
 storage GridStorage object that contains the grid's points information basis a reference to a class that implements a specific basis source the coefficients of the grid points x the d-dimensional vector with data points (row-wise) result the result vector of the matrix vector multiplication

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